Go to file
Rafael Espindola cb274c0c47 Use -Wl,defs when linking.
ELF linkers by default allow shared libraries to contain undefined references
and it is up to the dynamic linker to look for them.

On COFF and MachO, that is not the case.

This creates a situation where a .so might build on an ELF system, but the build
of the corresponding .dylib or .dll will fail.

This patch changes the cmake build to use -Wl,-z,defs when linking and updates
the dependencies so that -DBUILD_SHARED_LIBS=ON build still works.

llvm-svn: 226611
2015-01-20 21:23:15 +00:00
clang Link libclang with dl if available. 2015-01-20 21:10:35 +00:00
clang-tools-extra [clang-tidy] Make ClangTidyOptionsProvider::getOptions return by value. 2015-01-20 09:48:51 +00:00
compiler-rt [MIPS64] Make __clear_cache more optimal 2015-01-20 15:04:19 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use amdgcn triple for SI+ GPUs 2015-01-06 20:42:12 +00:00
libcxx Print compiler path during configuration and pass more flags to the linker 2015-01-20 16:26:48 +00:00
libcxxabi Fix abort_message.cpp for the NDK. 2015-01-16 20:00:49 +00:00
lld Disable C4062 on Windows. 2015-01-20 19:23:44 +00:00
lldb Remove unused function: 2015-01-20 21:05:21 +00:00
llgo Introduce llgoi, a REPL for Go 2015-01-15 04:13:29 +00:00
llvm Use -Wl,defs when linking. 2015-01-20 21:23:15 +00:00
openmp added support for PPC architectures (version 3): initial patch provided by Carlo Bertolli, latest version from Johnny Peyton 2015-01-19 18:29:35 +00:00
polly CodeGen: Update IRBuilder for LLVM API change 2015-01-19 21:31:48 +00:00