[libunwind] [llvm] [LFI][AArch64] Add AArch64 LFI rewriter (PR #184277)
Alexis Engelke via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 9 02:43:03 PDT 2026
================
@@ -678,9 +678,15 @@ DEFINE_LIBUNWIND_FUNCTION(__libunwind_Registers_arm64_jumpto)
ldp x18,x19, [x0, #0x090]
ldp x20,x21, [x0, #0x0A0]
ldp x22,x23, [x0, #0x0B0]
+#ifndef __LFI__
ldp x24,x25, [x0, #0x0C0]
ldp x26,x27, [x0, #0x0D0]
ldp x28,x29, [x0, #0x0E0]
+#else
+ ldp x24,xzr, [x0, #0x0C0]
+ ldp x26,xzr, [x0, #0x0D0]
+ ldp xzr,x29, [x0, #0x0E0]
----------------
aengelke wrote:
ldr? Add explaining comment.
https://github.com/llvm/llvm-project/pull/184277
More information about the cfe-commits
mailing list