LLDB
mainline
llvm-project
lldb
source
Plugins
Process
Windows
Common
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
15
namespace
lldb_private
{
16
17
enum class
WindowsLog
:
Log::MaskType
{
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
26
LLVM_MARK_AS_BITMASK_ENUM
(
Thread
)
27
};
28
LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE
();
29
30
class
ProcessWindowsLog
{
31
public
:
32
static
void
Initialize
();
33
static
void
Terminate
();
34
};
35
36
template
<>
Log::Channel
&
LogChannelFor<WindowsLog>
();
37
}
38
39
#endif // liblldb_ProcessWindowsLog_h_
lldb_private::ProcessWindowsLog::Initialize
static void Initialize()
Definition:
ProcessWindowsLog.cpp:30
lldb_private::WindowsLog::Memory
@ Memory
lldb_private::Event
Definition:
Event.h:182
lldb_private::Process
Definition:
Process.h:338
lldb_private::WindowsLog::Breakpoints
@ Breakpoints
Log.h
lldb_private::Thread
Definition:
Thread.h:61
lldb_private::ProcessWindowsLog
Definition:
ProcessWindowsLog.h:30
lldb_private::WindowsLog::Registers
@ Registers
lldb_private::WindowsLog::Step
@ Step
lldb_private::LLDBLog::LLVM_MARK_AS_BITMASK_ENUM
@ LLVM_MARK_AS_BITMASK_ENUM
lldb_private::WindowsLog::Exception
@ Exception
lldb_private::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE
LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE()
lldb_private::Log::MaskType
uint64_t MaskType
The underlying type of all log channel enums.
Definition:
Log.h:57
lldb_private::Log::Channel
Definition:
Log.h:79
lldb_private::ProcessWindowsLog::Terminate
static void Terminate()
Definition:
ProcessWindowsLog.cpp:35
lldb_private
A class that represents a running process on the host machine.
Definition:
SBCommandInterpreterRunOptions.h:16
lldb_private::WindowsLog
WindowsLog
Definition:
ProcessWindowsLog.h:17
lldb_private::LogChannelFor< WindowsLog >
Log::Channel & LogChannelFor< WindowsLog >()
Definition:
ProcessWindowsLog.cpp:26
Generated on Mon May 16 2022 03:46:53 for LLDB by
1.8.17