summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-10-08 06:59:54 +0000
committerGreg Clayton <gclayton@apple.com>2011-10-08 06:59:54 +0000
commit221523004010b4f3e7b5b13d696287f6b2ab4987 (patch)
tree9786b8c67a38d895cec1266e7650d17e51ecc1ae /llvm/lib/Target/TargetMachine.cpp
parentc168e50722cae5a01618ef87284d107ededd932c (diff)
downloadbcm5719-llvm-221523004010b4f3e7b5b13d696287f6b2ab4987.tar.gz
bcm5719-llvm-221523004010b4f3e7b5b13d696287f6b2ab4987.zip
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.
llvm-svn: 141480
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud