[PATCH] D86387: Fix frame pointer layout on AArch64 Linux.
Eric Christopher via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 16:45:56 PDT 2020
echristo added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:1189
+ int64_t FPOffset;
+ if (isTargetDarwin(MF)) {
+ FPOffset = (AFI->getCalleeSavedStackSize() - 16);
----------------
Can you comment what's going on here for posterity? :)
================
Comment at: llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:1860
+ unsigned FPAdjust =
+ isTargetDarwin(MF)
+ ? 16
----------------
Ditto.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86387/new/
https://reviews.llvm.org/D86387
More information about the llvm-commits
mailing list