[Lldb-commits] [lldb] r196146 - Ensure parsed debug arange data is sorted
Ed Maste
emaste at freebsd.org
Mon Dec 2 12:16:30 PST 2013
Author: emaste
Date: Mon Dec 2 14:16:30 2013
New Revision: 196146
URL: http://llvm.org/viewvc/llvm-project?rev=196146&view=rev
Log:
Ensure parsed debug arange data is sorted
llvm.org/pr18114
Modified:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp?rev=196146&r1=196145&r2=196146&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp Mon Dec 2 14:16:30 2013
@@ -32,6 +32,7 @@ DWARFDebugRanges::Extract(SymbolFileDWAR
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;
}
More information about the lldb-commits
mailing list