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

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 17:41:23 PST 2016


clayborg updated this revision to Diff 77705.
clayborg added a comment.

Fixed the constant size handling of all forms that are 4 bytes in DWARF32 and 8 bytes in DWARF64 (DW_FORM_strp, DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt, DW_FORM_line_strp, DW_FORM_sec_offset, DW_FORM_strp_sup, DW_FORM_ref_sup) by adding a new field named DWARFAbbreviationDeclaration::FixedSizeInfo::NumDwarfOffsets to DWARFAbbreviationDeclaration::FixedSizeInfo.


https://reviews.llvm.org/D26567

Files:
  include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
  include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
  include/llvm/DebugInfo/DWARF/DWARFFormValue.h
  lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
  lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
  lib/DebugInfo/DWARF/DWARFUnit.cpp
  tools/dsymutil/DwarfLinker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26567.77705.patch
Type: text/x-patch
Size: 18764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161112/cb84491d/attachment.bin>


More information about the llvm-commits mailing list