[libc-commits] [libc] [libc] implement sigsetjmp/siglongjmp for x86-64 (PR #136072)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Thu Apr 17 09:47:10 PDT 2025
================
@@ -50,8 +52,15 @@ typedef struct {
#else
#error "__jmp_buf not available for your target architecture."
#endif
+ // return address
+ void *sig_retaddr;
+ // extra register buffer to avoid indefinite stack growth in sigsetjmp
+ void *sig_extra;
+ // signal masks
+ sigset_t sigmask;
----------------
SchrodingerZhu wrote:
I will add aarch64 support in the next PR. But let's move them to x86 section for now.
https://github.com/llvm/llvm-project/pull/136072
More information about the libc-commits
mailing list