[clang] [CIR] Emit lifetime markers for temporaries (PR #236102)

Jiahao Guo via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 13 04:51:02 PST 2026


================
@@ -263,5 +263,15 @@ const EHPersonality &getEHPersonality(CIRGenModule &cgm,
 /// emitted.
 const EHPersonality &getEHPersonality(CIRGenFunction &cgf);
 
+struct CallLifetimeEnd final : EHScopeStack::Cleanup {
+  // The raw alloca pointer (in the alloca address space). Mirrors classic
+  // CodeGen's CallLifetimeEnd, which stores the llvm::Value pointer rather
+  // than an Address.
----------------
E00N777 wrote:

fixed

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


More information about the cfe-commits mailing list