[PATCH] D83554: [llvm-readobj] - Stop using unwrapOrError() for all program_headers() calls.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 06:23:47 PDT 2020


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

program_headers() returns the list of program headers. This change allows
to continue attempt of dumping when something is wrong with program headers.


https://reviews.llvm.org/D83554

Files:
  llvm/test/Object/invalid.test
  llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
  llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
  llvm/test/tools/llvm-readobj/ELF/gnu-phdrs.test
  llvm/test/tools/llvm-readobj/ELF/gnu-section-mapping.test
  llvm/test/tools/llvm-readobj/ELF/program-headers.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83554.277017.patch
Type: text/x-patch
Size: 23717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200710/95179411/attachment.bin>


More information about the llvm-commits mailing list