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

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 09:50:21 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 {
----------------
JDevlieghere wrote:

Should we add an `assert(I < ArangeDescriptors.size())`? 

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


More information about the llvm-commits mailing list