2022-03-11 16:03:32 +01:00
|
|
|
diff '--color=auto' -uNr node-v17.7.1.orig/deps/v8/src/trap-handler/trap-handler.h node-v17.7.1/deps/v8/src/trap-handler/trap-handler.h
|
|
|
|
--- node-v17.7.1.orig/deps/v8/src/trap-handler/trap-handler.h 2022-03-11 20:20:43.317755317 +0530
|
|
|
|
+++ node-v17.7.1/deps/v8/src/trap-handler/trap-handler.h 2022-03-11 20:23:32.047755252 +0530
|
2021-12-02 09:22:00 +01:00
|
|
|
@@ -17,23 +17,7 @@
|
2021-10-09 23:42:57 +02:00
|
|
|
namespace internal {
|
|
|
|
namespace trap_handler {
|
|
|
|
|
|
|
|
-// X64 on Linux, Windows, MacOS, FreeBSD.
|
|
|
|
-#if V8_HOST_ARCH_X64 && V8_TARGET_ARCH_X64 && \
|
|
|
|
- ((V8_OS_LINUX && !V8_OS_ANDROID) || V8_OS_WIN || V8_OS_MACOSX || \
|
|
|
|
- V8_OS_FREEBSD)
|
|
|
|
-#define V8_TRAP_HANDLER_SUPPORTED true
|
|
|
|
-// Arm64 (non-simulator) on Mac.
|
|
|
|
-#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_ARM64 && V8_OS_MACOSX
|
|
|
|
-#define V8_TRAP_HANDLER_SUPPORTED true
|
2021-12-02 09:22:00 +01:00
|
|
|
-// Arm64 simulator on x64 on Linux, Mac, or Windows.
|
|
|
|
-#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_X64 && \
|
|
|
|
- (V8_OS_LINUX || V8_OS_MACOSX)
|
2021-10-09 23:42:57 +02:00
|
|
|
-#define V8_TRAP_HANDLER_VIA_SIMULATOR
|
|
|
|
-#define V8_TRAP_HANDLER_SUPPORTED true
|
|
|
|
-// Everything else is unsupported.
|
|
|
|
-#else
|
|
|
|
#define V8_TRAP_HANDLER_SUPPORTED false
|
|
|
|
-#endif
|
|
|
|
|
|
|
|
// Setup for shared library export.
|
|
|
|
#if defined(BUILDING_V8_SHARED) && defined(V8_OS_WIN)
|