llvm-6502/cmake/modules
NAKAMURA Takumi 7c771b0293 Revert r220174, "Always use -Wl,-gc-sections on our build."
It dropped required functions for plugins with gnu ld 2.20 and 2.21.

  Failing Tests (1):
      LLVM :: Feature/load_module.ll

  Hello: bin/opt: symbol lookup error: lib/LLVMHello.so: undefined symbol: _ZN4llvm11raw_ostream13write_escapedENS_9StringRefEb

  Failing Tests (1):
      Clang :: Frontend/plugins.c

  error: unable to load plugin 'lib/PrintFunctionNames.so': 'lib/PrintFunctionNames.so: undefined symbol: _ZN5clang15PluginASTAction6anchorEv'

I think we should inspect linker's version or behavior to introduce --gc-sections for --export-dynamic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220198 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-20 12:12:21 +00:00
..
AddLLVM.cmake Revert r220174, "Always use -Wl,-gc-sections on our build." 2014-10-20 12:12:21 +00:00
AddLLVMDefinitions.cmake
AddSphinxTarget.cmake Make message about building sphinx documentation with CMake more 2014-08-14 11:57:16 +00:00
CheckAtomic.cmake Add CMake check for libatomic. 2014-09-12 11:08:59 +00:00
ChooseMSVCCRT.cmake
CMakeLists.txt Add LLVM_TOOLS_BINARY_DIR variable to LLVMConfig.cmake so clients 2014-07-22 17:48:51 +00:00
CrossCompile.cmake Enabling LLVM & Clang to be cross-compiled using CMake from a single configuration command line 2014-09-03 23:21:18 +00:00
FindSphinx.cmake Add SPHINX_WARNINGS_AS_ERRORS CMake option to allow warnings to not be 2014-08-14 11:57:13 +00:00
GetHostTriple.cmake
GetSVN.cmake
HandleLLVMOptions.cmake Add LLVM_ENABLE_MODULES flag to CMake to enable building with C++ modules. 2014-09-26 22:40:15 +00:00
HandleLLVMStdlib.cmake
LLVM-Config.cmake Fix misinterpretation of CMake rule found by a CMake warning (related to CMP0054). 2014-09-26 21:33:05 +00:00
LLVMConfig.cmake.in Add LLVM_TOOLS_BINARY_DIR variable to LLVMConfig.cmake so clients 2014-07-22 17:48:51 +00:00
LLVMConfigVersion.cmake.in
LLVMParseArguments.cmake
LLVMProcessSources.cmake cmake: Don't reject unknown cpp files that start with . 2014-09-02 20:20:43 +00:00
Makefile Don't attempt to run llvm-config in cmake/modules/Makefile when doing 2014-09-10 11:09:23 +00:00
TableGen.cmake Enabling LLVM & Clang to be cross-compiled using CMake from a single configuration command line 2014-09-03 23:21:18 +00:00
VersionFromVCS.cmake