[clang] [llvm] [clang][ssaf] Add CallGraph summary and extractor (PR #188753)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 30 08:18:50 PDT 2026


================
@@ -30,4 +32,9 @@ extern volatile int SSAFAnalysisRegistryAnchorSource;
 [[maybe_unused]] static int SSAFAnalysisRegistryAnchorDestination =
     SSAFAnalysisRegistryAnchorSource;
 
+// This anchor is used to force the linker to link the CallGraphExtractor.
+extern volatile int CallGraphExtractorAnchorSource;
+[[maybe_unused]] static int CallGraphExtractorAnchorDestination =
----------------
steakhal wrote:

I'll revisit this separately.

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


More information about the cfe-commits mailing list