llvm-6502/tools
Jeffrey Yasskin f6afae2f49 Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an
--enable-shared configure flag to have the tools linked shared. (2.7svn is just
$(LLVMVersion) so it'll change to "2.7" in the release.)  Always link the
example programs shared to test that the shared library keeps working.

On my mac laptop, Debug libLLVM2.7svn.dylib is 39MB, and opt (for example) is
16M static vs 440K shared.

Two things are less than ideal here:
1) The library doesn't include any version information. Since we expect to break
the ABI with every release, this shouldn't be much of a problem. If we do
release a compatible 2.7.1, we may be able to hack its library to work with
binaries compiled against 2.7.0, or we can just ask them to recompile. I'm
hoping to get a real packaging expert to look at this for the 2.8 release.
2) llvm-config doesn't yet have an option to print link options for the shared
library. I'll add this as a subsequent patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96559 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-18 02:36:02 +00:00
..
bugpoint There are two ways of checking for a given type, for example isa<PointerType>(T) 2010-02-16 11:11:14 +00:00
edis Updated the enhanced disassembly library to produce 2010-02-09 01:50:54 +00:00
gold make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
llc change addPassesToEmitFile to return true on failure instead of its input, 2010-02-03 05:55:08 +00:00
lli Move --march, --mcpu, and --mattr from JIT/TargetSelect.cpp to lli.cpp. 2010-02-05 16:19:36 +00:00
llvm-ar make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
llvm-as make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
llvm-bcanalyzer Stop building RTTI information for *most* llvm libraries. Notable 2010-01-22 06:49:46 +00:00
llvm-config New flag for GenLibDeps, and llvm-config-perobjincl. 2010-02-04 09:31:35 +00:00
llvm-dis make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
llvm-extract Add support to llvm-extract for extracting multiple functions and/or 2010-02-10 23:58:53 +00:00
llvm-ld Replace strcpy with memcpy when we have the length around anyway. 2010-01-28 18:04:38 +00:00
llvm-link make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
llvm-mc give MCCodeEmitters access to the current MCContext. 2010-02-12 23:12:47 +00:00
llvm-nm make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
llvm-prof make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
llvm-ranlib To simplify the upcoming context-on-type change, switch all command line tools to using the default global context for now. 2009-07-15 22:16:10 +00:00
llvm-shlib Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
llvm-stub Silence MSVC warning. 2009-08-11 11:01:19 +00:00
llvmc Support some more Darwin-only options. 2010-02-13 22:37:13 +00:00
lto change addPassesToEmitFile to return true on failure instead of its input, 2010-02-03 05:55:08 +00:00
opt Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
CMakeLists.txt remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00
Makefile ...and fixed the Makefile. 2010-02-02 20:20:30 +00:00