[libc-commits] [libc] [libc][arm] implement setjmp/longjmp (PR #93220)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu May 23 10:58:34 PDT 2024


================
@@ -32,6 +32,9 @@ typedef struct {
 #elif defined(__riscv_float_abi_single)
 #error "__jmp_buf not available for your target architecture."
 #endif
+#elif defined(__arm__)
+  // r4, r5, r6, r7, r8, r9, r10, r11, r12, lr
+  long opaque [10];
----------------
nickdesaulniers wrote:

fixed in https://github.com/llvm/llvm-project/pull/93220/commits/77384336fb4ef69a615b59fc0152ffdc74a4fb4e

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


More information about the libc-commits mailing list