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
l
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
Target
MemoryHistory.cpp
Go to the documentation of this file.
1
//===-- MemoryHistory.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/Target/MemoryHistory.h
"
10
#include "
lldb/Core/PluginManager.h
"
11
12
using namespace
lldb
;
13
using namespace
lldb_private
;
14
15
lldb::MemoryHistorySP
MemoryHistory::FindPlugin
(
const
ProcessSP
process) {
16
MemoryHistoryCreateInstance
create_callback =
nullptr
;
17
18
for
(uint32_t idx = 0;
19
(create_callback =
PluginManager::GetMemoryHistoryCreateCallbackAtIndex
(
20
idx)) !=
nullptr
;
21
++idx) {
22
MemoryHistorySP
memory_history_sp(create_callback(process));
23
if
(memory_history_sp)
24
return
memory_history_sp;
25
}
26
27
return
MemoryHistorySP
();
28
}
MemoryHistory.h
PluginManager.h
lldb_private::MemoryHistory::FindPlugin
static lldb::MemoryHistorySP FindPlugin(const lldb::ProcessSP process)
Definition:
MemoryHistory.cpp:15
lldb_private::PluginManager::GetMemoryHistoryCreateCallbackAtIndex
static MemoryHistoryCreateInstance GetMemoryHistoryCreateCallbackAtIndex(uint32_t idx)
Definition:
PluginManager.cpp:1399
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb_private::MemoryHistoryCreateInstance
lldb::MemoryHistorySP(* MemoryHistoryCreateInstance)(const lldb::ProcessSP &process_sp)
Definition:
lldb-private-interfaces.h:117
lldb
Definition:
SBAddress.h:15
lldb::MemoryHistorySP
std::shared_ptr< lldb_private::MemoryHistory > MemoryHistorySP
Definition:
lldb-forward.h:370
lldb::ProcessSP
std::shared_ptr< lldb_private::Process > ProcessSP
Definition:
lldb-forward.h:389
Generated on Wed Mar 26 2025 12:22:42 for LLDB by
1.9.6