[llvm-readobj] - Remove unwrapOrError calls from GNUStyle<ELFT>::printRelocations.
authorGeorgii Rymar <grimar@accesssoftek.com>
Thu, 13 Aug 2020 10:24:39 +0000 (13:24 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Mon, 17 Aug 2020 12:16:36 +0000 (15:16 +0300)
commitbc902191d3c002c13436f2c9a299826704861a80
tree3f2e91fb373a347bacc002da71ca696ed9359b6d
parent3f7068ad986d7f44f47faec78597a5e62b07b20b
[llvm-readobj] - Remove unwrapOrError calls from GNUStyle<ELFT>::printRelocations.

This fixes existent FIXMEs: we should not error out when unable to
find the number of relocations.

Differential revision: https://reviews.llvm.org/D85891
llvm/test/tools/llvm-readobj/ELF/packed-relocs.test
llvm/test/tools/llvm-readobj/ELF/relr-relocs.test
llvm/tools/llvm-readobj/ELFDumper.cpp