[PATCH] D125649: [ARM SEH 7] [WIP] [ARM] Adjust the frame pointer when it's needed for SEH unwinding

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 15 17:00:59 PDT 2022


efriedma added a comment.

Can we just rearrange the order we save registers on the stack?  I mean, generating an extra push instruction just to satisfy the unwinder is sort of silly, but it seems like the least bad alternative.  (And we only need to do it in cases involving dynamic allocation.)

  push {r4-r5}
  push {r11, lr}
  mov r11, sp


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125649/new/

https://reviews.llvm.org/D125649



More information about the llvm-commits mailing list