[libunwind] [libunwind] Add GCS support for AArch64 (PR #99335)
John Brawn via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 03:47:20 PDT 2024
================
@@ -680,7 +680,7 @@ DEFINE_LIBUNWIND_FUNCTION(__libunwind_Registers_arm64_jumpto)
ldr x16, [x0, #0x0F8]
ldp x0, x1, [x0, #0x000] // restore x0,x1
mov sp,x16 // restore sp
- ret x30 // jump to pc
----------------
john-brawn-arm wrote:
Yes you're right, and actually the way I've adjusted __unw_phase2_resume also means we need to change the BTI instruction in __libunwind_Registers_arm64_jumpto to BTI JC. I'll fix this.
https://github.com/llvm/llvm-project/pull/99335
More information about the cfe-commits
mailing list