[Lldb-commits] [PATCH] D11390: Optimize GetCompileUnitContainingDIE with a lookup table

Tamas Berghammer tberghammer at google.com
Tue Jul 21 08:45:22 PDT 2015


tberghammer created this revision.
tberghammer added a reviewer: clayborg.
tberghammer added a subscriber: lldb-commits.

Optimize GetCompileUnitContainingDIE with a lookup table

For large executable with debug symbols GetCompileUnitContainingDIE
took most of the time spent on DWARF parsing. Optimize it from linear
search to a logarithmic search with a lookup table.

http://reviews.llvm.org/D11390

Files:
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
  source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11390.30260.patch
Type: text/x-patch
Size: 3694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150721/38050757/attachment.bin>


More information about the lldb-commits mailing list