mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
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
This commit is contained in:
parent
44d98a76dc
commit
43c48ac801
@ -19,6 +19,7 @@
|
|||||||
#include "llvm/Type.h"
|
#include "llvm/Type.h"
|
||||||
#include "llvm/Target/TargetData.h"
|
#include "llvm/Target/TargetData.h"
|
||||||
#include "llvm/Assembly/Writer.h"
|
#include "llvm/Assembly/Writer.h"
|
||||||
|
#include "llvm/Support/Debug.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
#include "llvm/Support/InstIterator.h"
|
#include "llvm/Support/InstIterator.h"
|
||||||
#include "llvm/Support/Format.h"
|
#include "llvm/Support/Format.h"
|
||||||
@ -549,8 +550,8 @@ void AliasSetTracker::print(raw_ostream &OS) const {
|
|||||||
OS << "\n";
|
OS << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
void AliasSet::dump() const { print(errs()); }
|
void AliasSet::dump() const { print(dbgs()); }
|
||||||
void AliasSetTracker::dump() const { print(errs()); }
|
void AliasSetTracker::dump() const { print(dbgs()); }
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// ASTCallbackVH Class Implementation
|
// ASTCallbackVH Class Implementation
|
||||||
@ -591,7 +592,7 @@ namespace {
|
|||||||
|
|
||||||
for (inst_iterator I = inst_begin(F), E = inst_end(F); I != E; ++I)
|
for (inst_iterator I = inst_begin(F), E = inst_end(F); I != E; ++I)
|
||||||
Tracker->add(&*I);
|
Tracker->add(&*I);
|
||||||
Tracker->print(errs());
|
Tracker->print(dbgs());
|
||||||
delete Tracker;
|
delete Tracker;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user