Work on magic numbers for aarch64

This commit is contained in:
Justine Tunney 2023-05-10 01:10:28 -07:00
parent 59766efd3e
commit 5a455eaa0b
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2070 changed files with 4567 additions and 4200 deletions

View file

@ -27,6 +27,8 @@
#include "libc/testlib/testlib.h"
#include "third_party/xed/x86.h"
#ifdef __x86_64__
static volatile _Thread_local int gotsignal;
static void ContinueOnError(int sig, siginfo_t *si, void *vctx) {
@ -61,3 +63,5 @@ noasan bool testlib_memoryexists(const void *p) {
_npassert(!sigaction(SIGSEGV, old + 0, 0));
return !gotsignal;
}
#endif /* __x86_64__ */