[all-commits] [llvm/llvm-project] 0da640: DWP parsing: Use the index by hash when available
David Blaikie via All-commits
all-commits at lists.llvm.org
Wed Apr 27 14:46:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0da640cb87ae1c878dfbb9d30d7bd18ae7b244e1
https://github.com/llvm/llvm-project/commit/0da640cb87ae1c878dfbb9d30d7bd18ae7b244e1
Author: David Blaikie <dblaikie at gmail.com>
Date: 2022-04-27 (Wed, 27 Apr 2022)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
Log Message:
-----------
DWP parsing: Use the index by hash when available
Rather than looking up by offset - actually use the hash table to
perform faster lookup where possible. (for DWARFv4 DWP compilation units
the hash isn't in the header - it's in the root DIE, but to parse the
DIE you need the abbrev section and to get the abbrev section you need
the index - so in that case lookup by offset is required)
More information about the All-commits
mailing list