Change errs() to dbgs().
[oota-llvm.git] / lib / Support / Twine.cpp
index 292c0c2b9e5e53772ab3a38240a311f2908aa898..94464ffe4f0e96d93303d4d010f4e5afe6f4ac61 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "llvm/ADT/Twine.h"
 #include "llvm/ADT/SmallString.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
 using namespace llvm;
 
@@ -125,9 +126,9 @@ void Twine::printRepr(raw_ostream &OS) const {
 }
 
 void Twine::dump() const {
-  print(llvm::errs());
+  print(llvm::dbgs());
 }
 
 void Twine::dumpRepr() const {
-  printRepr(llvm::errs());
+  printRepr(llvm::dbgs());
 }