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
The first instruction was not part of the asm! macro. It seems to be a stack slot for the first argument. However, since the prelude got removed, sp will not get updated to a new size, and this will write over whatever was in the parent's stack.
I tried to reproduce it on godbolt, but was unable to do so. It seems to depend on optimization levels and size of the project/code ? I have a similar problem on i386 in another project, so this is not arch-specific.
The text was updated successfully, but these errors were encountered:
https://github.com/roblabla/unwind-rs/blob/d27dfb13a2dd663d89ba67257bc050b8e76febde/unwind/src/glue/aarch64.rs#L14
This function generates the following ASM:
The first instruction was not part of the
asm!
macro. It seems to be a stack slot for the first argument. However, since the prelude got removed,sp
will not get updated to a new size, and this will write over whatever was in the parent's stack.I tried to reproduce it on godbolt, but was unable to do so. It seems to depend on optimization levels and size of the project/code ? I have a similar problem on i386 in another project, so this is not arch-specific.
The text was updated successfully, but these errors were encountered: