diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-20 18:03:05 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-20 18:03:05 +0000 |
commit | a93160564726e7fb28d074b8d0367ca425fd5c37 (patch) | |
tree | 616789b7e965416d6b88413a2eb981532fcd1f80 /llvm | |
parent | 5bbb88ff977cb36f2aaf4c01870ad70ec643085c (diff) | |
download | bcm5719-llvm-a93160564726e7fb28d074b8d0367ca425fd5c37.tar.gz bcm5719-llvm-a93160564726e7fb28d074b8d0367ca425fd5c37.zip |
Convert DbgInfoPrinter to use errs() instead of outs().
llvm-svn: 111659
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Analysis/DbgInfoPrinter.cpp | 2 | ||||
-rw-r--r-- | llvm/test/DebugInfo/printdbginfo2.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DbgInfoPrinter.cpp b/llvm/lib/Analysis/DbgInfoPrinter.cpp index bdd9a26feac..05677506061 100644 --- a/llvm/lib/Analysis/DbgInfoPrinter.cpp +++ b/llvm/lib/Analysis/DbgInfoPrinter.cpp @@ -40,7 +40,7 @@ namespace { void printVariableDeclaration(const Value *V); public: static char ID; // Pass identification - PrintDbgInfo() : FunctionPass(ID), Out(outs()) {} + PrintDbgInfo() : FunctionPass(ID), Out(errs()) {} virtual bool runOnFunction(Function &F); virtual void getAnalysisUsage(AnalysisUsage &AU) const { diff --git a/llvm/test/DebugInfo/printdbginfo2.ll b/llvm/test/DebugInfo/printdbginfo2.ll index e19395b0df1..31937919747 100644 --- a/llvm/test/DebugInfo/printdbginfo2.ll +++ b/llvm/test/DebugInfo/printdbginfo2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -print-dbginfo -disable-output | FileCheck %s +; RUN: opt < %s -print-dbginfo -disable-output |& FileCheck %s ; grep {%b is variable b of type x declared at x.c:7} %t1 ; grep {%2 is variable b of type x declared at x.c:7} %t1 ; grep {@c.1442 is variable c of type int declared at x.c:4} %t1 |