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

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 18 07:50:30 PST 2026


================
@@ -682,6 +682,9 @@ class CGDebugInfo {
   /// that it is supported and enabled.
   llvm::DINode::DIFlags getCallSiteRelatedAttrs() const;
 
+  /// Add call target information.
+  void addCallTarget(const FunctionDecl *FD, llvm::CallBase *CI);
----------------
felipepiovezan wrote:

since this only adds _virtual_ call targets, should it be called `addCallTargetIfVirtual`?

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


More information about the llvm-commits mailing list