[libc-commits] [libc] Implement `sigsetjmp` and `siglongjmp` for darwin/aarch64 (PR #139555)

via libc-commits libc-commits at lists.llvm.org
Thu May 22 17:26:34 PDT 2025


================
@@ -20,6 +20,13 @@ set(TARGET_LIBC_ENTRYPOINTS
     # errno.h entrypoints
     libc.src.errno.errno
 
+    # setjmp.h entrypoints
+    libc.src.setjmp.longjmp
+    libc.src.setjmp.setjmp
+    libc.src.setjmp.siglongjmp
+    libc.src.setjmp.sigsetjmp
----------------
alyyelashram wrote:

One thing to note here , that the default target triple in the pipeline for MacOS has the architecture set to arm and not aarch64 , this will call the long/setjmp for arm and fail to find the sigsetjmp and siglongjmp fron my understanding.

@SchrodingerZhu 

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


More information about the libc-commits mailing list