commit | dc9a4f73917515d46c858fda38a88e1392060993 | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Mon Apr 28 22:27:46 2014 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Mon Apr 28 22:27:46 2014 +0000 |
tree | d8177b2e68963a68a4b69d61cdfb36dd4c155c74 | |
parent | 686bd64d0c269ff948c029d6bf94af7b87d00213 [diff] |
[DWARF parser] Simplify DWARFDebugAranges generation. There is no need to keep the whole contents of .debug_aranges section in memory when we build address ranges table. Memory optimization that used to be in this code (precalculate the size of vector of ranges before filling it) is not really needed - later we will compact and resize this vector anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207457 91177308-0d34-0410-b5e6-96231b3b80d8