[clang] [WinEH] Fix crash, object unwinding in the except block (PR #172287)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 21 23:12:16 PST 2026
GkvJwa wrote:
> I'm not sure this catches all the cases we need to catch; for example, #109576 has a testcase with a new expression.
```
struct A {
~A();
};
void f() {
__try {
A* a = new A;
delete a;
} __finally {
}
}
```
This is valid in MSVC, and I think this might be the issue that @MuellerMP is fixing.
https://github.com/llvm/llvm-project/pull/172287
More information about the cfe-commits
mailing list