[libc-commits] [libc] [libc] implement sigsetjmp/siglongjmp for x86-64 (PR #136072)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Thu Apr 17 09:32:56 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;
----------------
michaelrj-google wrote:
Since this is only currently available for x86, should this be moved into the x86 section?
https://github.com/llvm/llvm-project/pull/136072
More information about the libc-commits
mailing list