aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DynamicLibrary.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-04-21 19:03:51 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-04-21 19:03:51 +0000
commitab6b47d2e75c8d3cb178d4ce60f7d416cff301cc (patch)
treea34e0bd9b06fc78e9b372fec776f79eac325359f /llvm/lib/Support/DynamicLibrary.cpp
parent22e839f4b2d2406c81bf31a343ee0afa73e53bcb (diff)
downloadllvm-ab6b47d2e75c8d3cb178d4ce60f7d416cff301cc.zip
llvm-ab6b47d2e75c8d3cb178d4ce60f7d416cff301cc.tar.gz
llvm-ab6b47d2e75c8d3cb178d4ce60f7d416cff301cc.tar.bz2
[CMake] Link unittests only against libLLVM.so, if available.
We can only link against libLLVM.so or the individual libLLVM*.so components, but not both of them. Doing so results in these components exist twice in the programs address space, since it is already contained in libLLVM.so. The observable effect of this is that command line switches are registered multiple times (once for each instance), which is an error. This fixes llvm.org/PR32735. Reported-by: Singapuram Sanjay Srivallabh <singapuram.sanjay@gmail.com> llvm-svn: 301020
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions