[clang] [llvm] [ARM] Add support for Windows SEH (PR #184953)

Trung Nguyen via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 27 06:07:22 PDT 2026


================
@@ -1110,6 +1123,7 @@ void ARMFrameLowering::emitPrologue(MachineFunction &MF,
     DefCFAOffsetCandidates.addInst(LastPush, GPRCS3Size, BeforeFPPush);
     if (FramePtrSpillArea == SpillArea::GPRCS3)
       BeforeFPPush = false;
+    NumBytes -= GPRCS3Size;
----------------
trungnt2910 wrote:

Conversation resolved on Discord.

We subtracted 8 bytes from the allocation, so we should subtract 2 from the offset.

(There was a typo on the original message, but I guess the general idea still holds.)

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


More information about the cfe-commits mailing list