[all-commits] [llvm/llvm-project] 8da581: [WinEH] Diagnose SEH object unwinding in skipped _...
GkvJwa via All-commits
all-commits at lists.llvm.org
Tue Apr 28 18:48:56 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8da581d58abd5b1921d3959b04dcf9e1c1feeb34
https://github.com/llvm/llvm-project/commit/8da581d58abd5b1921d3959b04dcf9e1c1feeb34
Author: GkvJwa <gkvjwa at gmail.com>
Date: 2026-04-29 (Wed, 29 Apr 2026)
Changed paths:
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGException.cpp
M clang/test/CodeGenCXX/exceptions-seh.cpp
Log Message:
-----------
[WinEH] Diagnose SEH object unwinding in skipped __except bodies (#187718)
When an SEH __except block has no EH branches, CodeGen skips emitting the handler
body. This also skipped the existing diagnostic for local variables that require destruction
under C++ exceptions
Diagnose those variables before dropping the skipped handler body, and add coverage
for both sync and async exception modes
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list