projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9889174
)
[llvm-objdump] Use appropriate helper. NFC.
author
Davide Italiano
<davide@freebsd.org>
Mon, 21 Dec 2015 14:10:54 +0000
(14:10 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Mon, 21 Dec 2015 14:10:54 +0000
(14:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256156
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objdump/MachODump.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objdump/MachODump.cpp
b/tools/llvm-objdump/MachODump.cpp
index defd2d48a9f9cbe50b03f4990bea51c9976af26e..a2f3bc8e8a7c2c2f28389e6669eddf462855fa82 100644
(file)
--- a/
tools/llvm-objdump/MachODump.cpp
+++ b/
tools/llvm-objdump/MachODump.cpp
@@
-1650,8
+1650,7
@@
void llvm::ParseInputMachO(StringRef Filename) {
errs() << "llvm-objdump: '" << Filename << "': "
<< "Object is not a Mach-O file type.\n";
} else
- errs() << "llvm-objdump: '" << Filename << "': "
- << "Unrecognized file type.\n";
+ report_error(Filename, object_error::invalid_file_type);
}
typedef std::pair<uint64_t, const char *> BindInfoEntry;