Using apcs frame layout

Andrew Haley aph at redhat.com
Tue Mar 29 14:11:14 UTC 2016


On 03/29/2016 12:13 PM, Anton Kozlov wrote:
> Actually, x86_64 just standartize optionallity of rbp use as stack
> frame link: http://www.x86-64.org/documentation/abi.pdf Section 3.2.2
> The Stack Frame, note 7.

Indeed.  It's always been optional.

> So on x86_64 rbp may or may not point to previouslly saved rbp address.
> In last case perf fp-mode will not work. But in fp-mode unwinding is
> based solely on memory values (linux
> -sources/arch/x86/kernel/cpu/perf_event.c:perf_callchain_user; x86
> directory contains unified sources for x86 and x86_64)

Mmm.  So in legacy ARM 32 mode, we can perhaps do that.

Andrew.




More information about the aarch32-port-dev mailing list