[Lldb-commits] [lldb] [llvm] [lldb][DWARF] Replace lldb's DWARFDebugArangeSet with llvm's (PR #110058)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 27 01:17:18 PDT 2024


================
@@ -73,6 +73,12 @@ class DWARFDebugArangeSet {
     return desc_iterator_range(ArangeDescriptors.begin(),
                                ArangeDescriptors.end());
   }
+
+  size_t getDescriptorsSize() const { return ArangeDescriptors.size(); }
+
+  const Descriptor &getDescriptiorRef(uint32_t I) const {
----------------
labath wrote:

I would actually say this shouldn't exist. These are very lldb-like functions, and as far as I can tell, the only place where you're actually using them is in tests -- where we have better options.

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


More information about the lldb-commits mailing list