LLDB mainline
SBAddressRangeList.h
Go to the documentation of this file.
1//===-- SBAddressRangeList.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_SBADDRESSRANGELIST_H
10#define LLDB_API_SBADDRESSRANGELIST_H
11
12#include <memory>
13
14#include "lldb/API/SBDefines.h"
15
16namespace lldb_private {
17class AddressRangeListImpl;
18}
19
20namespace lldb {
21
23public:
25
27
29
31 operator=(const lldb::SBAddressRangeList &rhs);
32
33 uint32_t GetSize() const;
34
35 void Clear();
36
37 SBAddressRange GetAddressRangeAtIndex(uint64_t idx);
38
39 void Append(const lldb::SBAddressRange &addr_range);
40
41 void Append(const lldb::SBAddressRangeList &addr_range_list);
42
43 bool GetDescription(lldb::SBStream &description, const SBTarget &target);
44
45private:
46 friend class SBBlock;
47 friend class SBProcess;
48
50
51 std::unique_ptr<lldb_private::AddressRangeListImpl> m_opaque_up;
52};
53
54} // namespace lldb
55
56#endif // LLDB_API_SBADDRESSRANGELIST_H
#define LLDB_API
Definition: SBDefines.h:28
std::unique_ptr< lldb_private::AddressRangeListImpl > m_opaque_up
A class that represents a running process on the host machine.
Definition: SBAddress.h:15