[llvm] r363354 - [llvm-objcopy] Remove no-op flush of errs
Alex Brachet via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 21:34:27 PDT 2019
Author: abrachet
Date: Thu Jun 13 21:34:26 2019
New Revision: 363354
URL: http://llvm.org/viewvc/llvm-project?rev=363354&view=rev
Log:
[llvm-objcopy] Remove no-op flush of errs
Reviewers: alexshap, rupprecht, jhenderson
Subscribers: jakehehrlich, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63313
Modified:
llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp
Modified: llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp?rev=363354&r1=363353&r2=363354&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp (original)
+++ llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp Thu Jun 13 21:34:26 2019
@@ -54,7 +54,6 @@ StringRef ToolName;
LLVM_ATTRIBUTE_NORETURN void error(Twine Message) {
WithColor::error(errs(), ToolName) << Message << "\n";
- errs().flush();
exit(1);
}
More information about the llvm-commits
mailing list