lkml.org 
[lkml]   [2019]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] tracing: Function stack size and its name mismatch in arm64
On Fri, 2 Aug 2019 10:43:03 +0800
Jiping Ma <Jiping.Ma2@windriver.com> wrote:

> > *Why* does the frame appear to be off-by-one?
> Because the PC is LR in ARM64 stack actually.  Following is ARM64 stack
> layout. Please refer to the figure 3 in
> http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf
>             LR
>             FP
>             ......
>             LR
>             FP

And the LR holds the return address, right? Which would be identical to
x86 and every other arch I know about.

-- Steve

\
 
 \ /
  Last update: 2019-08-02 15:03    [W:0.042 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site