[clang] [WinEH] Fix crash, object unwinding in the except block (PR #172287)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 22 23:54:42 PST 2026
GkvJwa wrote:
> This is not related to the issue I'm trying to fix currently.
>
> My first guess would be that there might be an unwinding pad that only gets generated in clang and not in msvc.
>
> Edit: I just looked at the original issue. So I think it would be valid to reject this code if we don't use the deleting dtor right? Does the current fix already reject this?
The current fix will not reject this case, creating objects using `new` and `delete` does not belong to DestructionKind.
https://github.com/llvm/llvm-project/pull/172287
More information about the cfe-commits
mailing list