[clang] [WinEH] Fix crash, object unwinding in the except block (PR #172287)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 24 07:37:28 PST 2025


GkvJwa wrote:

Hey, I continued debugging and found that the purpose of `getInvokeDest` is actually to determine whether an object's destructor exists. The problem here is that its granularity is not fine enough; it's not at the function block level, which prevents it from handling destructors within `__try/__except` blocks.

https://github.com/llvm/llvm-project/pull/172287


More information about the cfe-commits mailing list