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 cmake/*: Add svn:eol-style=native and fix CRLF. 2011-02-03 11:41:27 +00:00
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 [CMake] Untabify. 2014-02-02 16:46:35 +00:00
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 Undo an over zealous rename. This bit of the CMake build really is 2012-01-24 18:00:44 +00:00
GetSVN.cmake Reverts commit r190808 and r190556. 2013-10-01 17:40:47 +00:00
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 [CMake] Move -stdlib=libc++ handling into its own file. 2014-02-05 00:02:37 +00:00
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 Teach LLVMConfigVersion.cmake to behave as find_package() expects. 2014-04-16 23:15:31 +00:00
LLVMParseArguments.cmake Add the PARSE_ARGUMENTS CMake macro to LLVM so I can use it to clean 2011-02-19 18:01:15 +00:00
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 CMake: Don't run 'git svn' if there is no .git/svn directory. 2012-12-10 19:03:37 +00:00