[llvm-readelf/obj] - Stop calling `reportError` in `printArchSpecificInfo()`.
authorGeorgii Rymar <grimar@accesssoftek.com>
Wed, 25 Nov 2020 11:54:35 +0000 (14:54 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Fri, 27 Nov 2020 07:27:00 +0000 (10:27 +0300)
commit3d811c57aa1a26fb2ba737dfc6f922fd98c96622
tree39190008e6e53cc52d980e35fa4125e166515628
parente0481048abd33079261c9aa701c0916a52941dc3
[llvm-readelf/obj] - Stop calling `reportError` in `printArchSpecificInfo()`.

This is related to MIPS. Currently we might report an error and exit,
though there is no problem to report a warning and try to continue dumping
an object. The code uses `MipsGOTParser<ELFT> Parser`, which is isolated
in this method.

Differential revision: https://reviews.llvm.org/D92090
llvm/test/tools/llvm-readobj/ELF/mips-got.test
llvm/test/tools/llvm-readobj/ELF/mips-plt.test
llvm/tools/llvm-readobj/ELFDumper.cpp