[clang] [clang][ssaf] Add JSONFormat support for WPASuite (PR #187403)
Aviral Goel via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 10:16:30 PDT 2026
================
@@ -0,0 +1,21 @@
+# Do NOT set LLVM_LINK_COMPONENTS here. Setting it would cause LLVM libraries
+# (e.g. Support) to be linked statically into this MODULE, producing a second
+# copy of LLVM in the process alongside the copy already loaded by the host
+# tool. Two copies means two separate llvm::Registry instances, so
+# registrations made here would not be visible to the host tool.
+#
+# The same applies to clang static libraries: do not use
+# clang_target_link_libraries here. Instead, expose only their include paths
----------------
aviralg wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/187403
More information about the cfe-commits
mailing list