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
12
namespace
v8
{
13
namespace
internal
{
14
15
class
V8_EXPORT_PRIVATE
EtwTraceDebug
{
16
public
:
17
static
EtwTraceDebug
info
;
18
};
19
20
std::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_
v8::internal::EtwTraceDebug
Definition
etw-debug-win.h:15
v8::internal::EtwTraceDebug::info
static EtwTraceDebug info
Definition
etw-debug-win.h:17
flags.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8::internal::operator<<
std::ostream & operator<<(std::ostream &os, AtomicMemoryOrder order)
Definition
atomic-memory-order.h:22
v8
Definition
api-arguments-inl.h:19
V8_EXPORT_PRIVATE
#define V8_EXPORT_PRIVATE
Definition
macros.h:460
src
diagnostics
etw-debug-win.h
Generated on Sun Apr 6 2025 21:08:53 for v8 by
1.12.0