[llvm-objdump] - Remove one overload of reportError. NFCI.
commitdb0d98345ba3ed6e3ea52184b08672b3b20b784a
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 27 Aug 2019 10:03:45 +0000 (27 10:03 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 27 Aug 2019 10:03:45 +0000 (27 10:03 +0000)
treed6928585382e6f1ff0d31e34739e3b9e0edf88f7
parentb482dadd5fe95c48ad3ee475e5d70d706c7622a8
[llvm-objdump] - Remove one overload of reportError. NFCI.

There is a problem with reportError we have.
Declaration says we have ArchiveName
that follows the FileName:

reportError(Error E, StringRef FileName, StringRef ArchiveName,...

Though implementation have them reversed. I cleaned it up and
removed an excessive reportError(Error E, StringRef File) version.

Rebased on top of D66418.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370034 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-objdump/MachODump.cpp
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-objdump/llvm-objdump.h