Skip to content

Commit ea98767

Browse files
committed
debug
1 parent 5acbf10 commit ea98767

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

deps/v8/src/trap-handler/trap-handler-simulator.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,27 @@
1212

1313
// This implementation is only usable on an x64 host with non-x64 target (i.e. a
1414
// simulator build on x64).
15+
16+
#pragma message("DEBUG INFO")
17+
18+
#if defined(_M_X64)
19+
#pragma message("_M_X64: " _M_X64)
20+
#else
21+
#pragma message("_M_X64 is undefined")
22+
#endif
23+
24+
#if defined(__x86_64__)
25+
#pragma message("__x86_64__: " __x86_64__)
26+
#else
27+
#pragma message("__x86_64__ is undefined")
28+
#endif
29+
30+
#if defined(V8_TARGET_ARCH_X64)
31+
#pragma message("V8_TARGET_ARCH_X64: " V8_TARGET_ARCH_X64)
32+
#else
33+
#pragma message("V8_TARGET_ARCH_X64 is undefined")
34+
#endif
35+
1536
#if (!defined(_M_X64) && !defined(__x86_64__)) || defined(V8_TARGET_ARCH_X64)
1637
#error "Do only include this file on simulator builds on x64."
1738
#endif

0 commit comments

Comments
 (0)