HomePhabricator

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

Authored by grimar on Jul 10 2020, 5:54 AM.

Description

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

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

Differential revision: https://reviews.llvm.org/D83554