Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Oct 19, 2021
1 parent 5acbf10 commit ea98767
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions deps/v8/src/trap-handler/trap-handler-simulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea98767

Please sign in to comment.