From be42123fa214b039b86ad152bd21d910db7a7af2 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 8 Oct 2011 06:59:54 +0000 Subject: Changed RangeMap over to use llvm::SmallVector and updated the RangeArray and the RangeDataArray to have an extra "unsigned N" template parameter. Updated the lldb_private::Block to use a RangeArray with a uint32_t for both the function base offset and block range size, and then a 1 for the small vector size since most lexical blocks in DWARF only have 1 range. Updates the DWARFDebugRanges RangeArray to use an unsigned of 2 since most blocks that have more than one range usually have 2. Also updated a DWARFDebugAranges to default their RangeArray to use a SmallVector with unsigned size of 1 since this will take care of the .o files when doing DWARF in .o files and since there really isn't any good size we can guess with. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141480 91177308-0d34-0410-b5e6-96231b3b80d8 --- source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h | 2 +- source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h b/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h index 78e1dfddc..e17a37da5 100644 --- a/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h +++ b/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h @@ -20,7 +20,7 @@ class SymbolFileDWARF; class DWARFDebugAranges { protected: - typedef lldb_private::RangeDataArray RangeToDIE; + typedef lldb_private::RangeDataArray RangeToDIE; public: typedef RangeToDIE::Entry Range; diff --git a/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h b/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h index 9145cc126..82a82edfa 100644 --- a/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h +++ b/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h @@ -20,7 +20,7 @@ class DWARFDebugRanges { public: - typedef lldb_private::RangeArray RangeList; + typedef lldb_private::RangeArray RangeList; typedef RangeList::Entry Range; DWARFDebugRanges(); -- cgit v1.2.3