lkml.org 
[lkml]   [2022]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] riscv: eliminate unreliable __builtin_frame_address(1)
    Date
    On Jan 17 2022, Jessica Clarke wrote:

    > Yes, this is a bug, that is always wrong. LLVM gets this right.

    Is that an ABI requirement? In case of a leaf function, gcc saves the
    caller's frame pointer in the first slot, not the second (it doesn't
    save the return address).

    --
    Andreas Schwab, schwab@linux-m68k.org
    GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
    "And now for something completely different."

    \
     
     \ /
      Last update: 2022-01-19 11:59    [W:2.348 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site