[llvm] [X86][APX] Fix per-function V3 unwind for EGPR functions on Windows x64 (PR #212924)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 01:26:06 PDT 2026


================
@@ -259,6 +253,19 @@ bool X86WinEHUnwindV3::runOnMachineFunction(MachineFunction &MF) {
   // Process each funclet (and the main function body) independently.
   // Each funclet gets its own UNWIND_INFO, so V3 limits apply per funclet.
   while (Iter != MF.end()) {
+    // Iter points at the funclet's first block; stamp the version here before
----------------
phoebewang wrote:

Do we need to stamp the V1/V2 version back for non EGPR functions?

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


More information about the llvm-commits mailing list