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

Mikael Holmen via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 3 23:05:52 PST 2026


================
@@ -4,6 +4,12 @@
 // RUN: %clang_cc1 -std=c++11 -fblocks -fms-extensions %s -triple=x86_64-windows-msvc -emit-llvm \
 // RUN:         -o - -mconstructor-aliases -O1 -disable-llvm-passes | \
 // RUN:         FileCheck %s --check-prefix=CHECK --check-prefix=NOCXX
+// RUN: %clang_cc1 -triple x86_64-windows -fasync-exceptions -fcxx-exceptions -fexceptions \
----------------
mikaelholmen wrote:

Hi @GkvJwa 

The new RUN lines try to write the output to files in the local directory, which may be write protected.
Can we redirect the output, or disable it completely if it's not interesting?

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


More information about the cfe-commits mailing list