forked from OSchip/llvm-project
Ensure parsed debug arange data is sorted
llvm.org/pr18114 llvm-svn: 196146
This commit is contained in:
parent
61fd59421a
commit
f44e3cd7f1
|
@ -32,6 +32,7 @@ DWARFDebugRanges::Extract(SymbolFileDWARF* dwarf2Data)
|
|||
dw_offset_t debug_ranges_offset = offset;
|
||||
while (Extract(dwarf2Data, &offset, range_list))
|
||||
{
|
||||
range_list.Sort();
|
||||
m_range_map[debug_ranges_offset] = range_list;
|
||||
debug_ranges_offset = offset;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue