You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#327 Stop collect link register may cause the lack of second frame of backtrace.
The Procedure Call Standard for the ARM 64-bit Architecture indicate that lr stored
sequentially next value of program counter—the return address
so, the instruction before address stored in link register is the call instruction, which is the second frame of backtrace.
5.3 Subroutine Calls
The A64 instruction set contains primitive subroutine call instructions, BL and BLR, which performs a branch-with link operation. The effect of executing BL is to transfer the sequentially next value of the program counter—the return address—into the link register (LR) and the destination address into the program counter. The effect of executing BLR is similar except that the new PC value is read from the specified register.
The text was updated successfully, but these errors were encountered:
ZhiyuWong
changed the title
about:
about "fix lr causes the call stack inaccurate"
May 21, 2019
#327 Stop collect link register may cause the lack of second frame of backtrace.
The Procedure Call Standard for the ARM 64-bit Architecture indicate that lr stored
so, the instruction before address stored in link register is the call instruction, which is the second frame of backtrace.
The text was updated successfully, but these errors were encountered: