[clang] [Clang][CodeGen] Plumb SourceLocation to virtual dtor and thunk calls (PR #245522)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 24 14:57:09 PST 2026


================
@@ -1997,8 +1997,9 @@ void ItaniumCXXABI::EmitDestructorCall(CodeGenFunction &CGF,
   else
     Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD);
 
+  // Implicit and cleanup destructor calls do not have a call-site location.
----------------
vitalybuka wrote:

Added FIXME for now, will try to create follow up.

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


More information about the cfe-commits mailing list