[PATCH] D77399: [llvm-readobj] - Introduce warnings for cases when unable to read strings from string tables.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 08:02:37 PDT 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, emaste.
Herald added a reviewer: espindola.

Currently we have no dedicated warnings, but we return error message instead of a result.
It is generally not consistent with another warnings we have.

This change was suggested and discussed here:
https://reviews.llvm.org/D77216#1954873

This change refines error messages we report and also I had to update the API
to implement it.


https://reviews.llvm.org/D77399

Files:
  llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
  llvm/test/tools/llvm-readobj/ELF/loadname.test
  llvm/test/tools/llvm-readobj/ELF/needed-libs.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77399.254801.patch
Type: text/x-patch
Size: 22391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200403/2ddcb170/attachment.bin>


More information about the llvm-commits mailing list