llvm/tools
Tobias Grosser df46288714 opt: Initialize asm printers
Without initializing the assembly printers a shared library build of opt is
linked with these libraries whereas for a static build these libraries are dead
code eliminated. This is unfortunate for plugins in case they want to use them,
as they neither can rely on opt to provide this functionality nor can they link
the printers in themselves as this breaks with a shared object build of opt.

This patch calls InitializeAllAsmPrinters() from opt, which increases the static
binary size from 50MB -> 52MB on my system (all backends compiled) and causes no
measurable increase in the time needed to run 'make check'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210914 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-13 16:12:08 +00:00
..
bugpoint Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
bugpoint-passes [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-08 08:27:28 +00:00
gold Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llc Move MCOptions that aren't shared between programs into their specific 2014-05-21 21:05:09 +00:00
lli Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-ar Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-as raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-bcanalyzer Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-c-test Convert getFileOffset to getOffset and move it to its only user. 2014-04-21 13:45:32 +00:00
llvm-config Change llvm-config --ldflags to report ${CMAKE_CXX_LINK_FLAGS} 2014-04-25 01:44:20 +00:00
llvm-cov Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-diff [C++] Use 'nullptr'. 2014-04-28 04:05:08 +00:00
llvm-dis Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-dwarfdump Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-extract Use range loops. 2014-05-08 19:30:17 +00:00
llvm-jitlistener Support: split object format out of environment 2014-03-06 20:47:11 +00:00
llvm-link raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-lto raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-mc Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-mcmarkup Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-nm Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-objdump Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-profdata Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-readobj Remove unused and odd code. 2014-06-13 15:36:17 +00:00
llvm-rtdyld Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-shlib autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try) 2014-05-13 19:37:03 +00:00
llvm-size Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
llvm-stress raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-symbolizer Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
lto Fix gcc -pedantic warning in lto.cpp. 2014-05-05 12:24:08 +00:00
macho-dump Remove 'using std::error_code' from tools. 2014-06-13 03:07:50 +00:00
msbuild VS integration installer: set SUCCESS=1 if we find VS 2013 2014-03-24 17:33:22 +00:00
obj2yaml Remove unused and odd code. 2014-06-13 15:36:17 +00:00
opt opt: Initialize asm printers 2014-06-13 16:12:08 +00:00
yaml2obj Remove system_error.h. 2014-06-12 17:38:55 +00:00
CMakeLists.txt static link polly into tools 2014-03-14 04:04:14 +00:00
LLVMBuild.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
Makefile lld (build with configur and make) Enable build 2014-06-05 08:49:55 +00:00