[libc-commits] [libc] Implement `sigsetjmp` and `siglongjmp` for darwin/aarch64 (PR #139555)
Aly ElAshram via libc-commits
libc-commits at lists.llvm.org
Thu May 15 09:06:43 PDT 2025
================
@@ -0,0 +1,51 @@
+if(setjmp_config_options)
----------------
AlyElashram wrote:
The only part we would need to remove from the setjmp is storing the platform register.
https://github.com/llvm/llvm-project/blob/main/libc/src/setjmp/aarch64/setjmp.cpp#L45-L57
If i can somehow enforce that this flag (LIBC_COPT_SETJMP_AARCH64_RESTORE_PLATFORM_REGISTER) is false , we can totally reuse the implementation.
https://github.com/llvm/llvm-project/pull/139555
More information about the libc-commits
mailing list