[PATCH] D150340: [SEH]:Fix assertion when try is used inside catch(...) block with /EHa

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 11 12:40:25 PDT 2023


efriedma added inline comments.


================
Comment at: clang/lib/CodeGen/CGException.cpp:650
+        llvm::FunctionCallee SehCppScope = getSehTryBeginFn(CGM);
+        EmitSehScope(SehCppScope);
+      }
----------------
Do we need to make the same change in EmitSEHTryStmt/ExitSEHTryStmt?

Is there some reason not to just call EmitSehTryScopeBegin here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150340/new/

https://reviews.llvm.org/D150340



More information about the cfe-commits mailing list