2022-03-18 10:40:36 +01:00
|
|
|
diff '--color=auto' -uNr node-v16.14.2.orig/deps/v8/src/trap-handler/trap-handler.h node-v16.14.2/deps/v8/src/trap-handler/trap-handler.h
|
|
|
|
--- node-v16.14.2.orig/deps/v8/src/trap-handler/trap-handler.h 2022-03-18 15:06:22.041091188 +0530
|
|
|
|
+++ node-v16.14.2/deps/v8/src/trap-handler/trap-handler.h 2022-03-18 15:08:37.101091137 +0530
|
2021-10-28 11:37:10 +02:00
|
|
|
@@ -17,22 +17,7 @@
|
2021-10-09 18:40:47 +02:00
|
|
|
namespace internal {
|
|
|
|
namespace trap_handler {
|
|
|
|
|
2021-10-28 11:37:10 +02:00
|
|
|
-// 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)
|
2021-10-09 18:40:47 +02:00
|
|
|
-#define V8_TRAP_HANDLER_SUPPORTED true
|
2021-10-28 11:37:10 +02:00
|
|
|
-// Arm64 (non-simulator) on Mac.
|
|
|
|
-#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_ARM64 && V8_OS_MACOSX
|
2021-10-09 18:40:47 +02:00
|
|
|
-#define V8_TRAP_HANDLER_SUPPORTED true
|
2021-10-28 11:37:10 +02:00
|
|
|
-// Arm64 simulator on x64 on Linux or Mac.
|
|
|
|
-#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_X64 && (V8_OS_LINUX || V8_OS_MACOSX)
|
|
|
|
-#define V8_TRAP_HANDLER_VIA_SIMULATOR
|
2021-10-09 18:40:47 +02:00
|
|
|
-#define V8_TRAP_HANDLER_SUPPORTED true
|
2021-10-28 11:37:10 +02:00
|
|
|
-// Everything else is unsupported.
|
2021-10-09 18:40:47 +02:00
|
|
|
-#else
|
|
|
|
#define V8_TRAP_HANDLER_SUPPORTED false
|
|
|
|
-#endif
|
|
|
|
|
2021-10-28 11:37:10 +02:00
|
|
|
// Setup for shared library export.
|
|
|
|
#if defined(BUILDING_V8_SHARED) && defined(V8_OS_WIN)
|