llvm-6502/tools
NAKAMURA Takumi 043cc54d6c 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201969 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-23 06:27:04 +00:00
..
bugpoint [CodeGenPrepare] Move CodeGenPrepare into lib/CodeGen. 2014-02-22 00:07:45 +00:00
bugpoint-passes Set LLVM_EXPORTED_SYMBOL_FILE in CMakeLists whose corresponding Makefiles do so. 2013-12-29 23:06:49 +00:00
gold Improve the declaration when LDPO_PIE is not available. 2014-02-11 17:30:18 +00:00
llc Make DisableIntegratedAS a TargetOption. 2014-02-21 03:13:54 +00:00
lli [CMake] Put lli-child-target into the Folder "Misc". 2014-01-28 09:43:41 +00:00
llvm-ar Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
llvm-as [PM] Make the verifier work independently of any pass manager. 2014-01-19 02:22:18 +00:00
llvm-bcanalyzer [cleanup] Move the Dominators.h and Verifier.h headers into the IR 2014-01-13 09:26:24 +00:00
llvm-c-test Use -std=gnu99 in tools/llvm-c-test/CMakeLists.txt 2014-01-08 11:48:19 +00:00
llvm-config Simplify linking to system libraries 2014-02-23 06:27:04 +00:00
llvm-cov llvm-cov: Support gcov's extermely lenient treatment of -o 2014-02-18 09:19:48 +00:00
llvm-diff
llvm-dis Return an error_code from materializeAllPermanently. 2014-01-14 23:51:27 +00:00
llvm-dwarfdump Change createObjectFile to return an ErrorOr. 2014-01-22 00:14:49 +00:00
llvm-extract [PM] Wire up support for writing bitcode with new PM. 2014-01-13 07:38:24 +00:00
llvm-jitlistener
llvm-link Set the SuppressWarnings option on tool level and propagate to the library. 2014-02-20 22:19:24 +00:00
llvm-lto Refactor TargetOptions initialization into a single place. 2014-02-19 17:09:35 +00:00
llvm-mc Remove support for not using .loc directives. 2014-02-05 18:00:21 +00:00
llvm-mcmarkup
llvm-nm Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
llvm-objdump llvm-objdump/COFF: LoadConfiguration does not exist in object file. 2014-02-21 20:27:15 +00:00
llvm-profdata PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
llvm-readobj Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
llvm-rtdyld Simplify the handling of iterators in ObjectFile. 2014-01-30 02:49:50 +00:00
llvm-shlib Strip dead code when linking by default with BFD ld (linux, ...) and ld64 (os x). 2013-12-27 22:38:59 +00:00
llvm-size Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
llvm-stress [cleanup] Move the Dominators.h and Verifier.h headers into the IR 2014-01-13 09:26:24 +00:00
llvm-symbolizer Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
lto [CMake] llvm-c/lto.h should be installed if libLTO.a is built. 2014-02-21 14:57:09 +00:00
macho-dump Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
msbuild MSBuild integration: get the LibraryPath right (PR18707) 2014-02-13 22:01:35 +00:00
obj2yaml Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
opt [CodeGenPrepare] Move CodeGenPrepare into lib/CodeGen. 2014-02-22 00:07:45 +00:00
yaml2obj llvm/tools: Prune redundant target_link_libraries. 2014-01-31 17:40:06 +00:00
CMakeLists.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
LLVMBuild.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
Makefile PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00