LLDB
mainline
llvm-project
lldb
include
lldb
API
SBMemoryRegionInfoList.h
Go to the documentation of this file.
1
//===-- SBMemoryRegionInfoList.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 LLDB_API_SBMEMORYREGIONINFOLIST_H
10
#define LLDB_API_SBMEMORYREGIONINFOLIST_H
11
12
#include "
lldb/API/SBDefines.h
"
13
14
class
MemoryRegionInfoListImpl
;
15
16
namespace
lldb
{
17
18
class
LLDB_API
SBMemoryRegionInfoList
{
19
public
:
20
SBMemoryRegionInfoList
();
21
22
SBMemoryRegionInfoList
(
const
lldb::SBMemoryRegionInfoList
&rhs);
23
24
const
SBMemoryRegionInfoList
&operator=(
const
SBMemoryRegionInfoList
&rhs);
25
26
~SBMemoryRegionInfoList
();
27
28
uint32_t GetSize()
const
;
29
30
bool
GetMemoryRegionContainingAddress(
lldb::addr_t
addr,
31
SBMemoryRegionInfo
®ion_info);
32
33
bool
GetMemoryRegionAtIndex(uint32_t idx,
SBMemoryRegionInfo
®ion_info);
34
35
void
Append(
lldb::SBMemoryRegionInfo
®ion);
36
37
void
Append(
lldb::SBMemoryRegionInfoList
®ion_list);
38
39
void
Clear();
40
41
protected
:
42
const
MemoryRegionInfoListImpl
*operator->()
const
;
43
44
const
MemoryRegionInfoListImpl
&operator*()
const
;
45
46
private
:
47
friend
class
SBProcess
;
48
49
lldb_private::MemoryRegionInfos
&ref();
50
51
const
lldb_private::MemoryRegionInfos
&ref()
const
;
52
53
std::unique_ptr<MemoryRegionInfoListImpl>
m_opaque_up
;
54
};
55
56
}
// namespace lldb
57
58
#endif
// LLDB_API_SBMEMORYREGIONINFOLIST_H
SBDefines.h
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
MemoryRegionInfoListImpl
Definition:
SBMemoryRegionInfoList.cpp:20
lldb::SBMemoryRegionInfoList
Definition:
SBMemoryRegionInfoList.h:18
lldb::SBMemoryRegionInfoList::m_opaque_up
std::unique_ptr< MemoryRegionInfoListImpl > m_opaque_up
Definition:
SBMemoryRegionInfoList.h:53
lldb::SBMemoryRegionInfoList::~SBMemoryRegionInfoList
~SBMemoryRegionInfoList()
lldb::SBMemoryRegionInfo
Definition:
SBMemoryRegionInfo.h:17
lldb::SBProcess
Definition:
SBProcess.h:29
lldb_private::MemoryRegionInfos
Definition:
MemoryRegionInfo.h:172
lldb
Definition:
SBAddress.h:15
lldb::addr_t
uint64_t addr_t
Definition:
lldb-types.h:80
Generated on Mon Nov 4 2024 05:23:35 for LLDB by
1.9.6