projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b5e1b
)
[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)
llvm-svn: 256156
llvm/tools/llvm-objdump/MachODump.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-objdump/MachODump.cpp
b/llvm/tools/llvm-objdump/MachODump.cpp
index
defd2d4
..
a2f3bc8
100644
(file)
--- a/
llvm/tools/llvm-objdump/MachODump.cpp
+++ b/
llvm/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;