[PATCH] D63313: [llvm-objcopy] Remove no-op flush of errs

Alex Brachet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 21:31:26 PDT 2019


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL363354: [llvm-objcopy] Remove no-op flush of errs (authored by abrachet, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63313?vs=204692&id=204694#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63313/new/

https://reviews.llvm.org/D63313

Files:
  llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp


Index: llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp
===================================================================
--- llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp
+++ llvm/trunk/tools/llvm-objcopy/llvm-objcopy.cpp
@@ -54,7 +54,6 @@
 
 LLVM_ATTRIBUTE_NORETURN void error(Twine Message) {
   WithColor::error(errs(), ToolName) << Message << "\n";
-  errs().flush();
   exit(1);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63313.204694.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/9f156d7d/attachment.bin>


More information about the llvm-commits mailing list