[llvm] [llvm][AsmPrinter] Add direct calls to callgraph section (PR #155706)

Prabhu Rajasekaran via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 22 13:18:02 PDT 2025


================
@@ -385,10 +386,11 @@ class LLVM_ABI AsmPrinter : public MachineFunctionPass {
   /// are available. Returns empty string otherwise.
   StringRef getConstantSectionSuffix(const Constant *C) const;
 
-  /// Generate and emit labels for callees of the indirect callsites which will
-  /// be used to populate the .callgraph section.
-  void emitIndirectCalleeLabels(
-      FunctionInfo &FuncInfo,
+  /// Iff MI is an indirect call, generate and emit a label after the callsites
----------------
Prabhuk wrote:

Not a typo. This was intended.

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


More information about the llvm-commits mailing list