summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@moritz.systems>2021-12-11 18:12:24 +0100
committerMichał Górny <mgorny@moritz.systems>2021-12-13 23:00:31 +0100
commitfd0b00b5c60dcee1ac60e6121571e251fb242e63 (patch)
treeb85ab2219d3006fc4e42da9150c271bd3ac2b237 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent0aea49a7308322e6987c7b45e4e0d7ab15609e78 (diff)
[clang] [unitttests] Fix linking Basic test to LLVMTestingSupport
Link BasicTests via explicit target_link_libraries() rather than clang_target_link_libraries() in order to fix linking when building clang against libclang-cpp. The latter requires all listed libraries to be part of libclang-cpp and omits them if libclang-cpp is used. However, LLVMTestingSupport is not part of libclang-cpp, so omitting it causes undefined symbols. Link to the library explicitly to follow suit with the 7 other unittest programs. Differential Revision: https://reviews.llvm.org/D115580
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions