[PATCH] D26567: Improve DWARF parsing speed by improving DWARFAbbreviationDeclaration

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 15:24:57 PST 2016


clayborg added a comment.

DWARF parsing speed is improved by 7% on a large DWARF file that contains debug info for LLVM, Clang and LLDB. The test would parse all of the DIEs in all of the compile units, iterate through all DIEs by visiting their children and siblings and extract a DW_AT_name as a string and extract a DW_AT_low_pc as an address. This tests overall parsing speed and also tests accessing attributes where DWARFAbbreviationDeclaration instances need to extract attribute values.


https://reviews.llvm.org/D26567





More information about the llvm-commits mailing list