File indexing completed on 2026-05-10 08:42:41
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLDB_API_SBADDRESSRANGELIST_H
0010 #define LLDB_API_SBADDRESSRANGELIST_H
0011
0012 #include <memory>
0013
0014 #include "lldb/API/SBDefines.h"
0015
0016 namespace lldb_private {
0017 class AddressRangeListImpl;
0018 }
0019
0020 namespace lldb {
0021
0022 class LLDB_API SBAddressRangeList {
0023 public:
0024 SBAddressRangeList();
0025
0026 SBAddressRangeList(const lldb::SBAddressRangeList &rhs);
0027
0028 ~SBAddressRangeList();
0029
0030 const lldb::SBAddressRangeList &
0031 operator=(const lldb::SBAddressRangeList &rhs);
0032
0033 uint32_t GetSize() const;
0034
0035 void Clear();
0036
0037 SBAddressRange GetAddressRangeAtIndex(uint64_t idx);
0038
0039 void Append(const lldb::SBAddressRange &addr_range);
0040
0041 void Append(const lldb::SBAddressRangeList &addr_range_list);
0042
0043 bool GetDescription(lldb::SBStream &description, const SBTarget &target);
0044
0045 private:
0046 friend class SBBlock;
0047 friend class SBProcess;
0048 friend class SBFunction;
0049
0050 lldb_private::AddressRangeListImpl &ref() const;
0051
0052 std::unique_ptr<lldb_private::AddressRangeListImpl> m_opaque_up;
0053 };
0054
0055 }
0056
0057 #endif