HomePhabricator

Fix frame pointer layout on AArch64 Linux.

Authored by resistor on Aug 26 2020, 9:09 AM.

Description

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.