From: Frederic Riss Date: Fri, 13 Mar 2015 23:30:07 +0000 (+0000) Subject: DWARFDebugRangeList: make the list of entries available to clients. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=97fb4907c5106deeceb28e71b9fc0d5a6b40bb6a;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232230 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h b/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h index 4ee3bdad329..c930bd603d4 100644 --- a/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h +++ b/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.