[clang] [llvm] [win][x64] Add support for Windows x64 unwind v3 (PR #200249)

Daniel Paoliello via cfe-commits cfe-commits at lists.llvm.org
Fri May 29 12:51:37 PDT 2026


================
@@ -268,3 +268,7 @@ loop_exit:                                   ; preds = %compute_path
   %cmp_exit = icmp eq i64 %and1, %and2
   br i1 %cmp_exit, label %loop_outer, label %exit
 }
+
+; EGPR requires V3 unwind info on Windows x64.
+!llvm.module.flags = !{!0}
+!0 = !{i32 1, !"winx64-eh-unwind", i32 3}
----------------
dpaoliello wrote:

Good catch: I updated the Clang and LLVM checks to only fire if unwinding is required.

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


More information about the cfe-commits mailing list