[all-commits] [llvm/llvm-project] 4acbff: [WinEH] Fix crash when deleting C++ objects inside...
GkvJwa via All-commits
all-commits at lists.llvm.org
Wed Apr 29 09:43:27 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4acbff3a6c997b3f4a6d2f118533f5868370735c
https://github.com/llvm/llvm-project/commit/4acbff3a6c997b3f4a6d2f118533f5868370735c
Author: GkvJwa <gkvjwa at gmail.com>
Date: 2026-04-30 (Thu, 30 Apr 2026)
Changed paths:
M clang/lib/CodeGen/CGCleanup.cpp
M clang/lib/CodeGen/CGCleanup.h
M clang/lib/CodeGen/CGException.cpp
M clang/lib/CodeGen/CGExprCXX.cpp
M clang/lib/CodeGen/EHScopeStack.h
M clang/test/CodeGen/windows-seh-EHa-TryInFinally.cpp
M clang/test/CodeGenCXX/exceptions-seh.cpp
Log Message:
-----------
[WinEH] Fix crash when deleting C++ objects inside SEH __try (#180144)
Introduce a dedicated cleanup flag for SEH __finally blocks and use it
to separate SEH try cleanup emission from C++ object cleanup emission
This prevents __finally cleanups from emitting seh.scope.begin/end and
keeps destructor/delete cleanups paired with seh.scope markers
Fix #109576
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