diff options
Diffstat (limited to 'lang/v8/files/patch-src_api_api.cc')
-rw-r--r-- | lang/v8/files/patch-src_api_api.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/v8/files/patch-src_api_api.cc b/lang/v8/files/patch-src_api_api.cc new file mode 100644 index 000000000000..47244c44d1b6 --- /dev/null +++ b/lang/v8/files/patch-src_api_api.cc @@ -0,0 +1,11 @@ +--- src/api/api.cc.orig 2021-04-22 15:00:28 UTC ++++ src/api/api.cc +@@ -5694,7 +5694,7 @@ bool v8::V8::Initialize(const int build_config) { + return true; + } + +-#if V8_OS_LINUX || V8_OS_MACOSX ++#if V8_OS_LINUX || V8_OS_MACOSX || V8_OS_OPENBSD || V8_OS_FREEBSD + bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info, + void* context) { + // When the target code runs on the V8 arm simulator, the trap handler does |