[llvm-branch-commits] [llvm] [llvm] Add option to emit `callgraph` section (PR #87574)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 17 14:05:41 PDT 2025


================
@@ -496,6 +496,9 @@ class LLVM_ABI MachineFunction {
   struct CallSiteInfo {
     /// Vector of call argument and its forwarding register.
     SmallVector<ArgRegPair, 1> ArgRegPairs;
+
+    /// Callee type id.
+    ConstantInt *TypeId = nullptr;
----------------
ilovepi wrote:

```suggestion
    ConstantInt *CalleeTypeId = nullptr;
```
Seems less ambiguous.

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


More information about the llvm-branch-commits mailing list