================
@@ -853,10 +859,10 @@ void CodeGenFunction::PopCleanupBlock(bool
FallthroughIsBranchThrough,
// intercept normal cleanup to mark SEH scope end
if (IsEHa && getInvokeDest()) {
- if (Personality.isMSVCXXPersonality())
- EmitSehCppScopeEnd();
- else
+ if (Scope.isSEHFinallyCleanup())
EmitSehTryScopeEnd();
+ else if (Personality.isMSVCPersonality())
----------------
efriedma-quic wrote:
Isn't isMSVCPersonality() always true here? I don't think we support EHAsynch
for non-MS personalities.
https://github.com/llvm/llvm-project/pull/180144
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits