================
@@ -1675,6 +1701,8 @@ void CodeGenFunction::EmitSEHTryStmt(const SEHTryStmt &S)
{
EmitRuntimeCallOrInvoke(getSehTryBeginFn(CGM));
if (SEHTryEpilogueStack.size() == 1) // outermost only
TryBB = Builder.GetInsertBlock();
+ if (!SehTryEndInvokeDest)
+ SehTryEndInvokeDest = getInvokeDest();
----------------
efriedma-quic wrote:
I'd prefer to store the destination alongside its corresponding cleanup,
instead of sticking in a member of CodeGenFunction. Having it stored like this
makes the interaction with nesting confusing.
https://github.com/llvm/llvm-project/pull/167176
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits