[clang] [clang][ssaf] Add JSONFormat support for WPASuite (PR #187403)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 31 09:55:49 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
----------------
steakhal wrote:

Everybody only reads the first 1-2 lines of a comment.  
  
We should bundle the `DO NOT` lines together at the top and elaborate later.

https://github.com/llvm/llvm-project/pull/187403


More information about the cfe-commits mailing list