[PATCH] D78558: [Support] Make DataExtractor error messages more clear

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 07:28:19 PDT 2020


labath updated this revision to Diff 267609.
labath marked an inline comment as done.
labath added a comment.

- change errc value
- add unit test


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78558

Files:
  llvm/include/llvm/Support/DataExtractor.h
  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/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_extended_length_field.s
  llvm/test/tools/llvm-dwarfdump/X86/debug_addr_too_small_for_length_field.s
  llvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_invalid.s
  llvm/unittests/DebugInfo/DWARF/DWARFAcceleratorTableTest.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDataExtractorTest.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
  llvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp
  llvm/unittests/Support/DataExtractorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78558.267609.patch
Type: text/x-patch
Size: 18691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200601/68edeac1/attachment.bin>


More information about the llvm-commits mailing list