[PATCH] D86387: Fix frame pointer layout on AArch64 Linux.

Owen Anderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 16:43:16 PDT 2020


resistor created this revision.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
resistor requested review of this revision.

When floating point callee-saved registers were used, the frame pointer would incorrectly point to the bottom of the CSR space (containing saved floating-point registers), rather than to the frame record.

      

While all frame offsets were calculated consistently, resulting in working code, this prevented stack walkers from being about to traverse the frame list.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86387

Files:
  llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
  llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
  llvm/test/CodeGen/AArch64/framelayout-fp-csr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86387.287138.patch
Type: text/x-patch
Size: 5300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200821/fc90ffad/attachment.bin>


More information about the llvm-commits mailing list