[llvm-commits] [llvm] r92661 - /llvm/trunk/lib/VMCore/Pass.cpp
David Greene
greened at obbligato.org
Mon Jan 4 17:30:04 PST 2010
Author: greened
Date: Mon Jan 4 19:30:04 2010
New Revision: 92661
URL: http://llvm.org/viewvc/llvm-project?rev=92661&view=rev
Log:
Change errs() to dbgs().
Modified:
llvm/trunk/lib/VMCore/Pass.cpp
Modified: llvm/trunk/lib/VMCore/Pass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Pass.cpp?rev=92661&r1=92660&r2=92661&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Pass.cpp (original)
+++ llvm/trunk/lib/VMCore/Pass.cpp Mon Jan 4 19:30:04 2010
@@ -19,6 +19,7 @@
#include "llvm/ModuleProvider.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringMap.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/System/Atomic.h"
@@ -51,7 +52,7 @@
// dumpPassStructure - Implement the -debug-passes=Structure option
void Pass::dumpPassStructure(unsigned Offset) {
- errs().indent(Offset*2) << getPassName() << "\n";
+ dbgs().indent(Offset*2) << getPassName() << "\n";
}
/// getPassName - Return a nice clean name for a pass. This usually
@@ -95,7 +96,7 @@
// dump - call print(cerr);
void Pass::dump() const {
- print(errs(), 0);
+ print(dbgs(), 0);
}
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list