diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-10-07 03:58:56 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-10-07 03:58:56 +0000 |
| commit | c26e4454035a4160cffc3c865cf83be194ca38c4 (patch) | |
| tree | 5be2bfb2b3363cd70923d009909c4c9b377385a7 /lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp | |
| parent | 779b8b0f33933e3b7bedaf7163a25143bedf428e (diff) | |
| download | bcm5719-llvm-c26e4454035a4160cffc3c865cf83be194ca38c4.tar.gz bcm5719-llvm-c26e4454035a4160cffc3c865cf83be194ca38c4.zip | |
Since we use address ranges a lot I added a templatized class that allows us to easily control the base address type, the size type, and the data that is stored with each range. It is designed to be populated by appending all needed items, then sorting the resulting list, and optionally minimizing the list when done. I adopted this new list in the DWARFDebugAranges for even further memory savings.
llvm-svn: 141352
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp index a4281ace521..576bb3119e4 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp @@ -363,8 +363,7 @@ DWARFCompileUnit::GetFunctionAranges () m_offset); DIE()->BuildFunctionAddressRangeTable (m_dwarf2Data, this, m_func_aranges_ap.get()); const bool minimize = false; - const uint32_t fudge_size = 0; - m_func_aranges_ap->Sort(minimize, fudge_size); + m_func_aranges_ap->Sort(minimize); } return *m_func_aranges_ap.get(); } |

