mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1920949: Fix patch for signal handling for WASI to fdlibm. r=jandem DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D223483
This commit is contained in:
parent
041c2efdf3
commit
7a7016cbb0
@ -6,7 +6,7 @@ index b588a59..dad6b01 100644
|
||||
#ifdef DEBUG
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
#define breakpoint() asm("int $3")
|
||||
+#elif defined(__wasi__)
|
||||
+#elif defined(__wasm__)
|
||||
+#define breakpoint() __builtin_trap()
|
||||
#else
|
||||
#include <signal.h>
|
||||
|
Loading…
Reference in New Issue
Block a user