[all-commits] [llvm/llvm-project] a0aed8: Fix frame pointer layout on AArch64 Linux.

Owen Anderson via All-commits all-commits at lists.llvm.org
Wed Aug 26 09:10:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a0aed80b22d1b698b86e0c16109fdfd4d592756f
      https://github.com/llvm/llvm-project/commit/a0aed80b22d1b698b86e0c16109fdfd4d592756f
  Author: Owen Anderson <resistor at mac.com>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h

  Log Message:
  -----------
  Fix frame pointer layout on AArch64 Linux.

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.




More information about the All-commits mailing list