[llvm-commits] [llvm] r111659 - in /llvm/trunk: lib/Analysis/DbgInfoPrinter.cpp test/DebugInfo/printdbginfo2.ll
Dan Gohman
gohman at apple.com
Fri Aug 20 11:03:05 PDT 2010
Author: djg
Date: Fri Aug 20 13:03:05 2010
New Revision: 111659
URL: http://llvm.org/viewvc/llvm-project?rev=111659&view=rev
Log:
Convert DbgInfoPrinter to use errs() instead of outs().
Modified:
llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp
llvm/trunk/test/DebugInfo/printdbginfo2.ll
Modified: llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp?rev=111659&r1=111658&r2=111659&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp (original)
+++ llvm/trunk/lib/Analysis/DbgInfoPrinter.cpp Fri Aug 20 13:03:05 2010
@@ -40,7 +40,7 @@
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 {
Modified: llvm/trunk/test/DebugInfo/printdbginfo2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/printdbginfo2.ll?rev=111659&r1=111658&r2=111659&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/printdbginfo2.ll (original)
+++ llvm/trunk/test/DebugInfo/printdbginfo2.ll Fri Aug 20 13:03:05 2010
@@ -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
More information about the llvm-commits
mailing list