[Lldb-commits] [lldb] [lldb][API] Add Find(Ranges)InMemory() to Process SB API (PR #95007)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 20 11:22:38 PDT 2024


================
@@ -92,3 +92,7 @@ bool SBAddressRangeList::GetDescription(SBStream &description,
   stream << "]";
   return true;
 }
+
+lldb_private::AddressRanges &SBAddressRangeList::ref() const {
+  return m_opaque_up->ref();
+}
----------------
clayborg wrote:

we might want to add an `assert()` call here like you did for `SBAddressRange::ref()`?

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


More information about the lldb-commits mailing list