[PATCH] D80797: [DebugInfo] Check for errors when reading data for extended opcode

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 06:55:50 PDT 2020


jhenderson updated this revision to Diff 267602.
jhenderson added a comment.

Switch to using `Cursor` instead of an explicit offset and `Error` when parsing extended opcodes. Also removed suppression of output in event of error. A later patch will address this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80797

Files:
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80797.267602.patch
Type: text/x-patch
Size: 5112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200601/9b692e17/attachment.bin>


More information about the llvm-commits mailing list