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

Daniel Paoliello via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 09:12:37 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
----------------
dpaoliello wrote:

No, functions will use the default from the module not whatever was stamped into the previous function.

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


More information about the llvm-commits mailing list