Don't run the catchable segv test on __EMSCRIPTEN__
This commit is contained in:
parent
c3045e2cb0
commit
1900e07166
@ -23,7 +23,7 @@ size_t i;
|
|||||||
|
|
||||||
signal(SIGSEGV, sig);
|
signal(SIGSEGV, sig);
|
||||||
signal(SIGBUS, sig);
|
signal(SIGBUS, sig);
|
||||||
#ifndef __SANITIZE_ADDRESS__
|
#if !defined(__SANITIZE_ADDRESS__) && !defined(__EMSCRIPTEN__)
|
||||||
for (i = 0; i < 10000000; i += 1024) { x[-i] = x[i] = (unsigned char) i; }
|
for (i = 0; i < 10000000; i += 1024) { x[-i] = x[i] = (unsigned char) i; }
|
||||||
#endif
|
#endif
|
||||||
free((void *) x);
|
free((void *) x);
|
||||||
|
Loading…
Reference in New Issue
Block a user