[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
Wed Jun 3 03:15:45 PDT 2020
jhenderson updated this revision to Diff 268115.
jhenderson added a comment.
Fixed the unit tests by adding an additional check which I'd previously dodged. Also added additional testing as unit testing, to cover all the cases which use the cursor.
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
llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80797.268115.patch
Type: text/x-patch
Size: 11199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200603/e041bec3/attachment.bin>
More information about the llvm-commits
mailing list