[clang] [WinEH] Fix object delete crash (PR #180144)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 8 22:54:04 PST 2026
MuellerMP wrote:
To me this looks wrong - if there are multiple exits out of a try region they need to be marked individually.
But i guess what you are getting at is that SEH even in the presence of EHa does not really care about C++ unwinding. Though it is kind of tricky to represent even if SEH regions are defined with a single entry and a single exit, C++ unwinding might introduce multiple exits.
Nesting can occur if you simply nest multiple try's. If EHa is actually used for C++ try/catch (not seh), the nesting also directly determines the current state number in the WinEHPrepare pass.
https://github.com/llvm/llvm-project/pull/180144
More information about the cfe-commits
mailing list