[PATCH] D127271: [pseudo] Fix link time undefined reference to llvm::EnableABIBreakingChecks

John McIver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 23:56:34 PDT 2022


jmciver created this revision.
Herald added a subscriber: mgorny.
Herald added a project: All.
jmciver published this revision for review.
Herald added subscribers: cfe-commits, alextsao1999.
Herald added a project: clang-tools-extra.

When building in debug mode, ABI breaking assertion checks are enabled and
require linking against LLVMSupport.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127271

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
@@ -6,4 +6,5 @@
 
   LINK_LIBS
   clangPseudoGrammar
+  LLVMSupport
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127271.435052.patch
Type: text/x-patch
Size: 300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220608/25b16703/attachment-0001.bin>


More information about the cfe-commits mailing list