OSDN Git Service

[llvm-objcopy] Remove no-op flush of errs
authorAlex Brachet <alexbrachetmialot@gmail.com>
Fri, 14 Jun 2019 04:34:26 +0000 (04:34 +0000)
committerAlex Brachet <alexbrachetmialot@gmail.com>
Fri, 14 Jun 2019 04:34:26 +0000 (04:34 +0000)
Reviewers: alexshap, rupprecht, jhenderson

Subscribers: jakehehrlich, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63313

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363354 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-objcopy/llvm-objcopy.cpp

index dfa66ef..416b295 100644 (file)
@@ -54,7 +54,6 @@ StringRef ToolName;
 
 LLVM_ATTRIBUTE_NORETURN void error(Twine Message) {
   WithColor::error(errs(), ToolName) << Message << "\n";
-  errs().flush();
   exit(1);
 }