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

Carlos Alberto Enciso via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 19 04:49:26 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);
----------------
CarlosAlbertoEnciso wrote:

Good point. Changed to `addCallTargetIfVirtual`.

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


More information about the cfe-commits mailing list