LLDB mainline
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
15
16namespace lldb {
17
19public:
21
23
25
27
28 uint32_t GetSize() const;
29
31 SBMemoryRegionInfo &region_info);
32
33 bool GetMemoryRegionAtIndex(uint32_t idx, SBMemoryRegionInfo &region_info);
34
35 void Append(lldb::SBMemoryRegionInfo &region);
36
37 void Append(lldb::SBMemoryRegionInfoList &region_list);
38
39 void Clear();
40
41protected:
43
45
46private:
47 friend class SBProcess;
48 friend class SBSaveCoreOptions;
49
51
53
54 std::unique_ptr<MemoryRegionInfoListImpl> m_opaque_up;
55};
56
57} // namespace lldb
58
59#endif // LLDB_API_SBMEMORYREGIONINFOLIST_H
#define LLDB_API
Definition SBDefines.h:28
const MemoryRegionInfoListImpl & operator*() const
std::unique_ptr< MemoryRegionInfoListImpl > m_opaque_up
const SBMemoryRegionInfoList & operator=(const SBMemoryRegionInfoList &rhs)
const MemoryRegionInfoListImpl * operator->() const
bool GetMemoryRegionAtIndex(uint32_t idx, SBMemoryRegionInfo &region_info)
bool GetMemoryRegionContainingAddress(lldb::addr_t addr, SBMemoryRegionInfo &region_info)
lldb_private::MemoryRegionInfos & ref()
void Append(lldb::SBMemoryRegionInfo &region)
uint64_t addr_t
Definition lldb-types.h:80