From e357d4fd318c7ddc8983f68e854879784f36cb38 Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Fri, 13 Mar 2015 23:30:07 +0000 Subject: [PATCH] DWARFDebugRangeList: make the list of entries available to clients. For users like llvm-dsymutil that want to have access to the encoded debug_ranges entries. llvm-svn: 232230 --- llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h index 4ee3bda..c930bd6 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h @@ -66,6 +66,8 @@ public: void clear(); void dump(raw_ostream &OS) const; bool extract(DataExtractor data, uint32_t *offset_ptr); + const std::vector &getEntries() { return Entries; } + /// getAbsoluteRanges - Returns absolute address ranges defined by this range /// list. Has to be passed base address of the compile unit referencing this /// range list. -- 2.7.4