[Lldb-commits] [lldb] Add AddressRange to SB API (PR #92014)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon May 13 14:28:15 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;
+};
----------------
bulbazord wrote:

Why do you wrap this instead of using `std::vector<lldb_private::AddressRange>` below?

https://github.com/llvm/llvm-project/pull/92014


More information about the lldb-commits mailing list