From a85b3521f5ff430954d8e3c61320e31b3aa25ef0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 23 Aug 2009 05:57:09 +0000 Subject: [PATCH] use errs() instead of cerr. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79829 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/Backend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Frontend/Backend.cpp b/lib/Frontend/Backend.cpp index 650e2139db..964b4700fe 100644 --- a/lib/Frontend/Backend.cpp +++ b/lib/Frontend/Backend.cpp @@ -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); } -- 2.40.0