LLDB
mainline
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
a
b
d
e
f
g
h
i
k
l
n
p
r
s
t
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
Enumerator
a
c
d
e
f
g
i
k
l
n
o
p
s
t
u
v
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Related Functions
:
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
g
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
g
i
j
l
m
o
p
r
s
t
u
v
Enumerations
Enumerator
a
b
d
e
f
g
h
k
m
n
p
r
s
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Examples
llvm-project
lldb
source
Plugins
Process
Windows
Common
NativeRegisterContextWindows.cpp
Go to the documentation of this file.
1
//===-- NativeRegisterContextWindows.cpp ----------------------------------===//
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
#include "
lldb/Host/HostThread.h
"
10
#include "
lldb/Host/windows/HostThreadWindows.h
"
11
#include "
lldb/Host/windows/windows.h
"
12
#include "
lldb/Utility/Log.h
"
13
14
#include "
NativeRegisterContextWindows.h
"
15
#include "
NativeThreadWindows.h
"
16
#include "
ProcessWindowsLog.h
"
17
18
using namespace
lldb
;
19
using namespace
lldb_private
;
20
21
NativeRegisterContextWindows::NativeRegisterContextWindows
(
22
NativeThreadProtocol
&thread,
RegisterInfoInterface
*reg_info_interface_p)
23
:
NativeRegisterContextRegisterInfo
(thread, reg_info_interface_p) {}
24
25
lldb::thread_t
NativeRegisterContextWindows::GetThreadHandle
()
const
{
26
auto
wthread =
static_cast<
NativeThreadWindows
*
>
(&
m_thread
);
27
return
wthread->
GetHostThread
().
GetNativeThread
().
GetSystemHandle
();
28
}
HostThreadWindows.h
HostThread.h
Log.h
NativeRegisterContextWindows.h
NativeThreadWindows.h
ProcessWindowsLog.h
lldb_private::HostNativeThreadBase::GetSystemHandle
lldb::thread_t GetSystemHandle() const
Definition:
HostNativeThreadBase.cpp:24
lldb_private::HostThread::GetNativeThread
HostNativeThread & GetNativeThread()
Definition:
HostThread.cpp:32
lldb_private::NativeRegisterContextRegisterInfo
Definition:
NativeRegisterContextRegisterInfo.h:18
lldb_private::NativeRegisterContextWindows::NativeRegisterContextWindows
NativeRegisterContextWindows(NativeThreadProtocol &native_thread, RegisterInfoInterface *reg_info_interface_p)
Definition:
NativeRegisterContextWindows.cpp:21
lldb_private::NativeRegisterContextWindows::GetThreadHandle
lldb::thread_t GetThreadHandle() const
Definition:
NativeRegisterContextWindows.cpp:25
lldb_private::NativeRegisterContext::m_thread
NativeThreadProtocol & m_thread
Definition:
NativeRegisterContext.h:176
lldb_private::NativeThreadProtocol
Definition:
NativeThreadProtocol.h:24
lldb_private::NativeThreadWindows
Definition:
NativeThreadWindows.h:22
lldb_private::NativeThreadWindows::GetHostThread
const HostThread & GetHostThread()
Definition:
NativeThreadWindows.h:53
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
Definition:
SBAddress.h:15
lldb::thread_t
pthread_t thread_t
Definition:
lldb-types.h:58
windows.h
Generated on Thu Mar 13 2025 07:28:33 for LLDB by
1.9.6