[PATCH] D92636: [llvm-readelf/obj] - Improve diagnostics when printing NT_FILE notes.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 4 00:00:57 PST 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay, rupprecht.
Herald added a subscriber: emaste.
Herald added a reviewer: espindola.
grimar requested review of this revision.
Herald added a project: LLVM.

This changes the `printNotesHelper` to report warnings on its side when
there are errors when dumping notes.

With that we can provide more content when reporting warnings about broken notes.


https://reviews.llvm.org/D92636

Files:
  llvm/test/tools/llvm-readobj/ELF/note-core-ntfile-bad.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92636.309468.patch
Type: text/x-patch
Size: 8814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201204/cee6ed43/attachment.bin>


More information about the llvm-commits mailing list