[PATCH] D75119: [DWARF] Use DWARFDataExtractor::getInitialLength to parse debug_names

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 07:57:49 PST 2020


labath created this revision.
labath added reviewers: jhenderson, dblaikie, ikudrin.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

In this patch I've done a slightly bigger rewrite to also remove the
hardcoded header lengths.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75119

Files:
  llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-short1.s
  llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-short2.s
  llvm/unittests/DebugInfo/DWARF/DWARFAcceleratorTableTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75119.246467.patch
Type: text/x-patch
Size: 8212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200225/b5ec83c4/attachment.bin>


More information about the llvm-commits mailing list