[libc-commits] [libc] [libc][setjmp][x86] implement setjmp in terms of out of line asm (PR #88157)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Apr 9 14:06:35 PDT 2024


nickdesaulniers wrote:

I definitely do like the safety provided by the offsetof macros in the naked fn impl (https://github.com/llvm/llvm-project/pull/88054), but I do worry that GCC not supported that function attribute will make the implementation for `setjmp` for `aarch64` either:
- unsupported for GCC, or
- out of line asm, just for `setjmp` and just for aarch64.

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


More information about the libc-commits mailing list