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:
041d7c3
)
[llvm-objdump] Use stderr and not stdout for fatal errors.
author
Davide Italiano
<davide@freebsd.org>
Fri, 25 Dec 2015 18:16:45 +0000
(18:16 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Fri, 25 Dec 2015 18:16:45 +0000
(18:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256423
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 e89243340cc4185a459f2730fe521c2b38b5ff96..1b7ba3f9efd817b955d7dcacbb666dde91bcf1d4 100644
(file)
--- a/
tools/llvm-objdump/llvm-objdump.cpp
+++ b/
tools/llvm-objdump/llvm-objdump.cpp
@@
-247,8
+247,8
@@
void llvm::error(std::error_code EC) {
if (!EC)
return;
-
out
s() << ToolName << ": error reading file: " << EC.message() << ".\n";
-
out
s().flush();
+
err
s() << ToolName << ": error reading file: " << EC.message() << ".\n";
+
err
s().flush();
exit(1);
}