[PATCH] D127093: [clang][pseudo] Add missing Support lib to cxx
David Spickett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 6 03:01:23 PDT 2022
DavidSpickett created this revision.
Herald added subscribers: jsji, pengfei, mgorny.
Herald added a project: All.
DavidSpickett requested review of this revision.
Herald added subscribers: cfe-commits, alextsao1999.
Herald added a project: clang-tools-extra.
Without this the following build config fails.
cmake ../llvm-project/llvm -DCMAKE_BUILD_TYPE=Debug \
-DLLVM_TARGETS_TO_BUILD=X86 -DBUILD_SHARED_LIBS=ON \
-DLLVM_APPEND_VC_REV=OFF -DLLVM_ENABLE_PROJECTS="lldb;clang;clang-tools-extra" \
-G Ninja
With:
ld.lld: error: undefined symbol: llvm::EnableABIBreakingChecks
>>> referenced by CXX.cpp
>>>
>>> tools/clang/tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o:(llvm::VerifyEnableABIBreakingChecks)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127093
Files:
clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
Index: clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
===================================================================
--- clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
+++ clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt
@@ -1,3 +1,5 @@
+set(LLVM_LINK_COMPONENTS Support)
+
add_clang_library(clangPseudoCXX
CXX.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127093.434413.patch
Type: text/x-patch
Size: 327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220606/06b67181/attachment.bin>
More information about the cfe-commits
mailing list