[libc-commits] [libc] [libc][AArch64] Support LFI in setjmp and longjmp (PR #238092)

Christian Nieves via libc-commits libc-commits at lists.llvm.org
Tue Nov 3 08:50:45 PST 2026


================
@@ -32,7 +32,18 @@ namespace LIBC_NAMESPACE_DECL {
   // address at the start of longjmp, because we're not going to use it anyway!
 
   asm(
-      // Reload the callee-saved GPRs, including fp and lr.
+  // Reload the callee-saved GPRs, including fp and lr.
+#ifdef __LFI__
----------------
squk wrote:

Done

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


More information about the libc-commits mailing list