aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2022-01-28 21:58:40 +0100
committerRainer Orth <ro@gcc.gnu.org>2022-01-28 21:58:40 +0100
commit15a3476f3f9462a3f9f057ec626e7eaee829ed2c (patch)
tree04153075e0ce3261e95249a11f6d7fc84ff2dc7e /clang/lib/Frontend/InitPreprocessor.cpp
parent6888081e32c45a7bb88cfc883a38bce5e5ccc0b8 (diff)
downloadllvm-15a3476f3f9462a3f9f057ec626e7eaee829ed2c.zip
llvm-15a3476f3f9462a3f9f057ec626e7eaee829ed2c.tar.gz
llvm-15a3476f3f9462a3f9f057ec626e7eaee829ed2c.tar.bz2
[polly][unittests] Link DeLICMTests with libLLVMCore
A `-DBUILD_SHARED_LIBS=ON` build on Solaris/amd64 failed with Undefined first referenced symbol in file _ZNK4llvm3cfg6UpdateIPNS_10BasicBlockEE4dumpEv tools/polly/unittests/DeLICM/CMakeFiles/DeLICMTests.dir/DeLICMTest.cpp.o (symbol belongs to implicit dependency /var/llvm/local-amd64-release-stage2-shared-A/bin/../lib/libLLVMCore.so.14git) ld: fatal: symbol referencing errors Solaris `ld` requires to directly link with dependant libraries, so this patch explicitly adds `libLLVMCore`. Tested on `amd64-pc-solaris2.11` and `x86_64-pc-linux-gnu`. Differential Revision: https://reviews.llvm.org/D118452
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions