LLDB mainline
ProcessWindowsLog.h
Go to the documentation of this file.
1//===-- ProcessWindowsLog.h -------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef liblldb_ProcessWindowsLog_h_
10#define liblldb_ProcessWindowsLog_h_
11
12#include "lldb/Utility/Log.h"
13#include "llvm/ADT/BitmaskEnum.h"
14
15namespace lldb_private {
16
18 Breakpoints = Log::ChannelFlag<0>, // Log breakpoint operations
19 Event = Log::ChannelFlag<1>, // Low level debug events
20 Exception = Log::ChannelFlag<2>, // Log exceptions
21 Memory = Log::ChannelFlag<3>, // Log memory reads/writes calls
22 Process = Log::ChannelFlag<4>, // Log process operations
23 Registers = Log::ChannelFlag<5>, // Log register operations
24 Step = Log::ChannelFlag<6>, // Log step operations
25 Thread = Log::ChannelFlag<7>, // Log thread operations
27};
29
31public:
32 static void Initialize();
33 static void Terminate();
34};
35
37}
38
39#endif // liblldb_ProcessWindowsLog_h_
uint64_t MaskType
The underlying type of all log channel enums.
Definition: Log.h:141
A plug-in interface definition class for debugging a process.
Definition: Process.h:341
A class that represents a running process on the host machine.
Log::Channel & LogChannelFor< WindowsLog >()
LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE()