OSDN Git Service
(root)
/
android-x86
/
external-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
7496872
..
22f5519
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) {