[libunwind] [llvm] [LFI][AArch64] Add AArch64 LFI rewriter (PR #184277)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 02:43:04 PDT 2026


================
@@ -226,7 +226,7 @@ int DwarfInstructions<A, R>::stepWithDwarf(
       // __unw_step_stage2 is not used for cross unwinding, so we use
       // __aarch64__ rather than LIBUNWIND_TARGET_AARCH64 to make sure we are
       // building for AArch64 natively.
-#if defined(__aarch64__)
+#if defined(__aarch64__) && !defined(__LFI__)
----------------
aengelke wrote:

Add comment.

https://github.com/llvm/llvm-project/pull/184277


More information about the llvm-commits mailing list