[clang] [WinEH] Fix object delete crash (PR #180144)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 6 01:09:21 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-codegen
Author: None (GkvJwa)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/180144.diff
1 Files Affected:
- (modified) clang/lib/CodeGen/CGCleanup.cpp (-2)
``````````diff
diff --git a/clang/lib/CodeGen/CGCleanup.cpp b/clang/lib/CodeGen/CGCleanup.cpp
index 28ac9bf396356..f64995511fd88 100644
--- a/clang/lib/CodeGen/CGCleanup.cpp
+++ b/clang/lib/CodeGen/CGCleanup.cpp
@@ -813,8 +813,6 @@ void CodeGenFunction::PopCleanupBlock(bool FallthroughIsBranchThrough,
if (IsEHa && getInvokeDest()) {
if (Personality.isMSVCXXPersonality())
EmitSehCppScopeEnd();
- else
- EmitSehTryScopeEnd();
}
destroyOptimisticNormalEntry(*this, Scope);
``````````
</details>
https://github.com/llvm/llvm-project/pull/180144
More information about the cfe-commits
mailing list