LLDB
mainline
llvm-project
lldb
source
Plugins
Process
Windows
Common
NativeRegisterContextWindows.h
Go to the documentation of this file.
1
//===-- NativeRegisterContextWindows.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_NativeRegisterContextWindows_h_
10
#define liblldb_NativeRegisterContextWindows_h_
11
12
#include "
Plugins/Process/Utility/NativeRegisterContextRegisterInfo.h
"
13
#include "
lldb/Host/common/NativeThreadProtocol.h
"
14
#include "
lldb/Utility/DataBufferHeap.h
"
15
16
namespace
lldb_private
{
17
18
class
NativeThreadWindows;
19
20
class
NativeRegisterContextWindows
:
public
NativeRegisterContextRegisterInfo
{
21
public
:
22
NativeRegisterContextWindows
(
23
NativeThreadProtocol
&native_thread,
24
RegisterInfoInterface
*reg_info_interface_p);
25
26
static
std::unique_ptr<NativeRegisterContextWindows>
27
CreateHostNativeRegisterContextWindows
(
const
ArchSpec
&target_arch,
28
NativeThreadProtocol
&native_thread);
29
30
protected
:
31
lldb::thread_t
GetThreadHandle
()
const
;
32
};
33
34
}
// namespace lldb_private
35
36
#endif
// liblldb_NativeRegisterContextWindows_h_
DataBufferHeap.h
NativeRegisterContextRegisterInfo.h
NativeThreadProtocol.h
lldb_private::ArchSpec
An architecture specification class.
Definition:
ArchSpec.h:31
lldb_private::NativeRegisterContextRegisterInfo
Definition:
NativeRegisterContextRegisterInfo.h:18
lldb_private::NativeRegisterContextWindows
Definition:
NativeRegisterContextWindows.h:20
lldb_private::NativeRegisterContextWindows::CreateHostNativeRegisterContextWindows
static std::unique_ptr< NativeRegisterContextWindows > CreateHostNativeRegisterContextWindows(const ArchSpec &target_arch, NativeThreadProtocol &native_thread)
lldb_private::NativeRegisterContextWindows::GetThreadHandle
lldb::thread_t GetThreadHandle() const
Definition:
NativeRegisterContextWindows.cpp:25
lldb_private::NativeThreadProtocol
Definition:
NativeThreadProtocol.h:24
lldb_private::RegisterInfoInterface
RegisterInfo interface to patch RegisterInfo structure for archs.
Definition:
RegisterInfoInterface.h:21
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb::thread_t
pthread_t thread_t
Definition:
lldb-types.h:58
Generated on Fri Dec 27 2024 01:40:10 for LLDB by
1.9.6