Change errs() to dbgs().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92094 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2009-12-24 00:27:55 +00:00
parent 5393b25234
commit 0c8b6e6bc5

View File

@ -16,6 +16,7 @@
#include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/MC/MCAsmInfo.h" #include "llvm/MC/MCAsmInfo.h"
#include "llvm/Target/TargetData.h" #include "llvm/Target/TargetData.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h" #include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h" #include "llvm/Support/Format.h"
using namespace llvm; using namespace llvm;
@ -93,7 +94,7 @@ void DIEAbbrev::print(raw_ostream &O) {
<< '\n'; << '\n';
} }
} }
void DIEAbbrev::dump() { print(errs()); } void DIEAbbrev::dump() { print(dbgs()); }
#endif #endif
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
@ -164,14 +165,14 @@ void DIE::print(raw_ostream &O, unsigned IncIndent) {
} }
void DIE::dump() { void DIE::dump() {
print(errs()); print(dbgs());
} }
#endif #endif
#ifndef NDEBUG #ifndef NDEBUG
void DIEValue::dump() { void DIEValue::dump() {
print(errs()); print(dbgs());
} }
#endif #endif