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:
349b419
)
[llvm-objdump] Add missing call to exit(1).
author
Davide Italiano
<davide@freebsd.org>
Thu, 6 Aug 2015 00:18:52 +0000
(
00:18
+0000)
committer
Davide Italiano
<davide@freebsd.org>
Thu, 6 Aug 2015 00:18:52 +0000
(
00:18
+0000)
Reported by: Rafael Espindola.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244184
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-objdump/llvm-objdump.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-objdump/llvm-objdump.cpp
b/tools/llvm-objdump/llvm-objdump.cpp
index 7496872edc387c18bd518fe736955d1d58a1e8d9..22f5519f5008a6a598d0256dfb7027a70a930b62 100644
(file)
--- a/
tools/llvm-objdump/llvm-objdump.cpp
+++ b/
tools/llvm-objdump/llvm-objdump.cpp
@@
-249,6
+249,7
@@
void llvm::error(std::error_code EC) {
outs() << ToolName << ": error reading file: " << EC.message() << ".\n";
outs().flush();
+ exit(1);
}
static void report_error(StringRef File, std::error_code EC) {