[PATCH] D75265: [DataExtractor] Improve error message when we run off the end of the buffer

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 08:47:10 PST 2020


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

Include the offset at which this happened.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75265

Files:
  llvm/lib/Support/DataExtractor.cpp
  llvm/test/DebugInfo/X86/dwarfdump-debug-loc-error-cases2.s
  llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-error-cases2.s
  llvm/unittests/DebugInfo/DWARF/DWARFDataExtractorTest.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75265.246963.patch
Type: text/x-patch
Size: 5512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200227/0d4bd144/attachment-0001.bin>


More information about the llvm-commits mailing list