[PATCH] D72158: [DebugInfo] Make most debug line prologue errors non-fatal to parsing

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 07:43:37 PST 2020


jhenderson updated this revision to Diff 237323.
jhenderson edited the summary of this revision.
jhenderson added a comment.
Herald added a subscriber: ormris.

Rebased + changed to assuming the stated length is always correct. This required some additional test changes to better demonstrate the behaviour difference.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72158/new/

https://reviews.llvm.org/D72158

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_line_malformed.s
  llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
  llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72158.237323.patch
Type: text/x-patch
Size: 28751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200110/a7cf21a9/attachment.bin>


More information about the llvm-commits mailing list