mkovacevic99 wrote: > EmitCXXGlobalVarDeclInit pushes cleanups, yes, but it's also supposed to pop > those cleanups (using RunCleanupsScope or something like that), so the end > result is balanced. See what happens if you write an expression that contains > a normal C++ temporary. > > We're missing the pops for this specific construct.
Okay, I will investigate further if and where EmitCXXGlobalVarDeclInit after emitting cleanups misses to pop cleanups with RunCleanupsScope or something similar https://github.com/llvm/llvm-project/pull/199508 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
