Convert debug messages to use dbgs(). Generally this means
authorDavid Greene <greened@obbligato.org>
Wed, 23 Dec 2009 17:24:22 +0000 (17:24 +0000)
committerDavid Greene <greened@obbligato.org>
Wed, 23 Dec 2009 17:24:22 +0000 (17:24 +0000)
s/errs/dbgs/g except for certain special cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92006 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index d513f2cb4e2df1632685e23a1325f758631f9ef9..7196eb8d1a67effff04bae09e0fd5defa252498b 100644 (file)
@@ -37,6 +37,7 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Analysis/Dominators.h"
 #include "llvm/Support/CFG.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
 #include <algorithm>
 
@@ -480,7 +481,7 @@ public:
   }
   
   void dump() const {
-    print(errs());
+    print(dbgs());
   }
   
 protected: