[llvm-commits] [llvm] r92029 - /llvm/trunk/lib/Analysis/AliasSetTracker.cpp
David Greene
greened at obbligato.org
Wed Dec 23 11:27:59 PST 2009
Author: greened
Date: Wed Dec 23 13:27:59 2009
New Revision: 92029
URL: http://llvm.org/viewvc/llvm-project?rev=92029&view=rev
Log:
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases.
Modified:
llvm/trunk/lib/Analysis/AliasSetTracker.cpp
Modified: llvm/trunk/lib/Analysis/AliasSetTracker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasSetTracker.cpp?rev=92029&r1=92028&r2=92029&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasSetTracker.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasSetTracker.cpp Wed Dec 23 13:27:59 2009
@@ -19,6 +19,7 @@
#include "llvm/Type.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Assembly/Writer.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/Support/Format.h"
@@ -549,8 +550,8 @@
OS << "\n";
}
-void AliasSet::dump() const { print(errs()); }
-void AliasSetTracker::dump() const { print(errs()); }
+void AliasSet::dump() const { print(dbgs()); }
+void AliasSetTracker::dump() const { print(dbgs()); }
//===----------------------------------------------------------------------===//
// ASTCallbackVH Class Implementation
@@ -591,7 +592,7 @@
for (inst_iterator I = inst_begin(F), E = inst_end(F); I != E; ++I)
Tracker->add(&*I);
- Tracker->print(errs());
+ Tracker->print(dbgs());
delete Tracker;
return false;
}
More information about the llvm-commits
mailing list