[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:02:31 PDT 2025


================
@@ -0,0 +1,51 @@
+if(setjmp_config_options)
----------------
AlyElashram wrote:

That makes sense , I'm just unsure how I could remove parts of the inline assembly. My first thought was to define some flag or header for example `is_darwin` and then surround the code that should not be executed for darwin with that flag , and since it's only a single line of assembly I don't think that would be super hard no ? 

Any thoughts on how to do that?


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


More information about the libc-commits mailing list