[Lldb-commits] [lldb] Add AddressRange to SB API (PR #92014)
Miro Bucko via lldb-commits
lldb-commits at lists.llvm.org
Tue May 14 06:43:49 PDT 2024
================
@@ -242,6 +244,12 @@ class AddressRange {
lldb::addr_t m_byte_size = 0; ///< The size in bytes of this address range.
};
+// Forward-declarable wrapper.
+class AddressRanges : public std::vector<lldb_private::AddressRange> {
+public:
+ using std::vector<lldb_private::AddressRange>::vector;
+};
----------------
mbucko wrote:
I followed the same convention as here:
https://github.com/llvm/llvm-project/blob/main/lldb/include/lldb/Target/MemoryRegionInfo.h#L172
Do you have a preference?
https://github.com/llvm/llvm-project/pull/92014
More information about the lldb-commits
mailing list