Skip to content
Snippets Groups Projects
Commit dd5d4a0e authored by Martin Storsjö's avatar Martin Storsjö
Browse files

checkasm: aarch64: Don't clobber x29 in checkasm_stack_clobber


x29 (FP) is a callee saved register and should be restored on
return. Instead of backing up x29 and restoring it here, back up
sp in a register that we are allowed to overwrite.

This fixes crashes in checkasm on aarch64 since f1b3e131.
For some reason, gcc builds didn't crash, but clang builds do.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 7911186e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment