v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
etw-debug-win.h
Go to the documentation of this file.
1// Copyright 2024 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_DIAGNOSTICS_ETW_DEBUG_WIN_H_
6#define V8_DIAGNOSTICS_ETW_DEBUG_WIN_H_
7
8#include <iostream>
9
10#include "src/flags/flags.h"
11
12namespace v8 {
13namespace internal {
14
16 public:
18};
19
20std::ostream& operator<<(std::ostream& os, const EtwTraceDebug&);
21
22#undef ETWTRACEDBG
23#ifdef DEBUG
24#define ETWTRACEDBG v8_flags.etw_trace_debug&& std::cout << EtwTraceDebug::info
25#else
26#define ETWTRACEDBG 0 && std::cout
27#endif
28
29} // namespace internal
30} // namespace v8
31
32#endif // V8_DIAGNOSTICS_ETW_DEBUG_WIN_H_
static EtwTraceDebug info
std::ostream & operator<<(std::ostream &os, AtomicMemoryOrder order)
#define V8_EXPORT_PRIVATE
Definition macros.h:460