[clang] [llvm] [clang][DebugInfo] Add virtual call-site target information in DWARF. (PR #167666)

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 12 08:58:49 PST 2026


================
@@ -526,11 +526,17 @@ class LLVM_ABI MachineFunction {
     /// Callee type ids.
     SmallVector<ConstantInt *, 4> CalleeTypeIds;
 
+    /// 'call_target' metadata for the DISubprogram. It is the declaration
+    /// or definition of the target function and might be indirect.
+    MDNode *MD = nullptr;
----------------
dwblaikie wrote:

Could have a more specific name for this variable?

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


More information about the cfe-commits mailing list