llvm-project/llvm/lib
NAKAMURA Takumi af2c1130ee Simplify linking to system libraries
The LLVMSupport library implementation consolidates all dependencies on
system libraries.  Move the logic gathering system libraries out of
'cmake/modules/LLVM-Config.cmake' and into 'lib/Support/CMakeLists.txt'.
Use the target_link_libraries() command there to tell CMake about the
link dependencies of the LLVMSupport implementation.  CMake will
automatically propagate this to all targets that link LLVMSupport
directly or indirectly.

We still need to build knowledge of system library dependencies into
'llvm-config'.  Store the list of libraries needed in a property on
LLVMSupport and teach 'tools/llvm-config/CMakeLists.txt' to retrieve it
from there.

Drop all calls to 'link_system_libs' and 'get_system_libs' from our
CMake code.  Replace their implementations with a warning that explains
the calls are no longer necessary.  Also drop from 'LLVMConfig.cmake'
the HAVE_* and related variables that were published there only to allow
'get_system_libs' to run outside our build process.

Contributed by Brad King.

llvm-svn: 201969
2014-02-23 06:27:04 +00:00
..
Analysis Rename a few more DataLayout variables from TD to DL. 2014-02-21 18:34:28 +00:00
AsmParser [ms-cxxabi] Add a new calling convention that swaps 'this' and 'sret' 2014-01-31 17:41:22 +00:00
Bitcode Make parseBitcodeFile return an ErrorOr<Module *>. 2014-01-15 01:08:23 +00:00
CodeGen Fix typo 2014-02-22 19:31:28 +00:00
DebugInfo Support DWARF discriminators in object streamer. 2014-02-14 19:27:53 +00:00
ExecutionEngine move getNameWithPrefix and getSymbol to TargetMachine. 2014-02-19 20:30:41 +00:00
IR Switch the LLVM error reporting on the new diagnostic system. 2014-02-22 00:34:11 +00:00
IRReader Make parseBitcodeFile return an ErrorOr<Module *>. 2014-01-15 01:08:23 +00:00
LTO move getNameWithPrefix and getSymbol to TargetMachine. 2014-02-19 20:30:41 +00:00
LineEditor Avoid using EL_GETFP. 2014-02-04 20:04:46 +00:00
Linker Set the SuppressWarnings option on tool level and propagate to the library. 2014-02-20 22:19:24 +00:00
MC MC: Support COFF string tables larger than 10MB 2014-02-22 16:12:20 +00:00
Object MC: Support COFF string tables larger than 10MB 2014-02-22 16:12:20 +00:00
Option Avoid buffer copies when a Twine already is a StringRef. 2013-12-03 18:18:28 +00:00
Support Simplify linking to system libraries 2014-02-23 06:27:04 +00:00
TableGen [TableGen] Correctly generate implicit anonymous prototype defs in multiclasses 2014-01-02 20:47:09 +00:00
Target ARM IAS: support .short and .hword 2014-02-23 06:22:09 +00:00
Transforms Include <cctype> for isdigit(). 2014-02-22 06:34:10 +00:00
CMakeLists.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
LLVMBuild.txt Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00