diff options
| author | David Greene <greened@obbligato.org> | 2010-01-05 01:30:04 +0000 |
|---|---|---|
| committer | David Greene <greened@obbligato.org> | 2010-01-05 01:30:04 +0000 |
| commit | dfe4ad71b00d0b6b266d248b20866acd070fdf39 (patch) | |
| tree | 4eefbaa8fa69b825dcb70820d15e966614c4c1a0 /llvm/lib/VMCore | |
| parent | 994e1bbdd1a35a7b0d696e77bbd3d0e959e71a0c (diff) | |
| download | bcm5719-llvm-dfe4ad71b00d0b6b266d248b20866acd070fdf39.tar.gz bcm5719-llvm-dfe4ad71b00d0b6b266d248b20866acd070fdf39.zip | |
Change errs() to dbgs().
llvm-svn: 92661
Diffstat (limited to 'llvm/lib/VMCore')
| -rw-r--r-- | llvm/lib/VMCore/Pass.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Pass.cpp b/llvm/lib/VMCore/Pass.cpp index 6bea7a8b088..39da8fbe87a 100644 --- a/llvm/lib/VMCore/Pass.cpp +++ b/llvm/lib/VMCore/Pass.cpp @@ -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 @@ bool Pass::mustPreserveAnalysisID(const PassInfo *AnalysisID) const { // 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 @@ void Pass::print(raw_ostream &O,const Module*) const { // dump - call print(cerr); void Pass::dump() const { - print(errs(), 0); + print(dbgs(), 0); } //===----------------------------------------------------------------------===// |

