diff options
author | David Greene <greened@obbligato.org> | 2009-12-23 19:27:59 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-12-23 19:27:59 +0000 |
commit | 43c48ac8015d6fa4b83fb4ccd0252da1ceceb0f7 (patch) | |
tree | 381259e1d0fbc9d55bb88ecf9d853d2792795b6b /lib/Analysis/AliasSetTracker.cpp | |
parent | 44d98a76dc5c41cd6e57b4a5cce73075120ce80a (diff) | |
download | external_llvm-43c48ac8015d6fa4b83fb4ccd0252da1ceceb0f7.zip external_llvm-43c48ac8015d6fa4b83fb4ccd0252da1ceceb0f7.tar.gz external_llvm-43c48ac8015d6fa4b83fb4ccd0252da1ceceb0f7.tar.bz2 |
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasSetTracker.cpp')
-rw-r--r-- | lib/Analysis/AliasSetTracker.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Analysis/AliasSetTracker.cpp b/lib/Analysis/AliasSetTracker.cpp index 6634600..fec5bae 100644 --- a/lib/Analysis/AliasSetTracker.cpp +++ b/lib/Analysis/AliasSetTracker.cpp @@ -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 @@ void AliasSetTracker::print(raw_ostream &OS) const { 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 @@ namespace { 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; } |