From ea98767e560f6fabfa356a24afcd04ce1fff8fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 19 Oct 2021 20:26:18 +0200 Subject: [PATCH] debug --- .../src/trap-handler/trap-handler-simulator.h | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/deps/v8/src/trap-handler/trap-handler-simulator.h b/deps/v8/src/trap-handler/trap-handler-simulator.h index bfceb49697a843..aeb02a515c769a 100644 --- a/deps/v8/src/trap-handler/trap-handler-simulator.h +++ b/deps/v8/src/trap-handler/trap-handler-simulator.h @@ -12,6 +12,27 @@ // This implementation is only usable on an x64 host with non-x64 target (i.e. a // simulator build on x64). + +#pragma message("DEBUG INFO") + +#if defined(_M_X64) +#pragma message("_M_X64: " _M_X64) +#else +#pragma message("_M_X64 is undefined") +#endif + +#if defined(__x86_64__) +#pragma message("__x86_64__: " __x86_64__) +#else +#pragma message("__x86_64__ is undefined") +#endif + +#if defined(V8_TARGET_ARCH_X64) +#pragma message("V8_TARGET_ARCH_X64: " V8_TARGET_ARCH_X64) +#else +#pragma message("V8_TARGET_ARCH_X64 is undefined") +#endif + #if (!defined(_M_X64) && !defined(__x86_64__)) || defined(V8_TARGET_ARCH_X64) #error "Do only include this file on simulator builds on x64." #endif