]> granicus.if.org Git - clang/commitdiff
use errs() instead of cerr.
authorChris Lattner <sabre@nondot.org>
Sun, 23 Aug 2009 05:57:09 +0000 (05:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Aug 2009 05:57:09 +0000 (05:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79829 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/Backend.cpp

index 650e2139db22ab8dbbbe5b68484e1b44a98c669d..964b4700fe0716b64e60f0076c0db6dafa2bd032 100644 (file)
@@ -328,7 +328,7 @@ void BackendConsumer::EmitAssembly() {
   std::string Error;
   if (!AddEmitPasses(Error)) {
     // FIXME: Don't fail this way.
-    llvm::cerr << "ERROR: " << Error << "\n";
+    llvm::errs() << "ERROR: " << Error << "\n";
     ::exit(1);
   }