mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92661 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
170c48af5a
commit
840d41e7d1
@ -19,6 +19,7 @@
|
||||
#include "llvm/ModuleProvider.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/StringMap.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/System/Atomic.h"
|
||||
@ -51,7 +52,7 @@ bool Pass::mustPreserveAnalysisID(const PassInfo *AnalysisID) const {
|
||||
|
||||
// dumpPassStructure - Implement the -debug-passes=Structure option
|
||||
void Pass::dumpPassStructure(unsigned Offset) {
|
||||
errs().indent(Offset*2) << getPassName() << "\n";
|
||||
dbgs().indent(Offset*2) << getPassName() << "\n";
|
||||
}
|
||||
|
||||
/// getPassName - Return a nice clean name for a pass. This usually
|
||||
@ -95,7 +96,7 @@ void Pass::print(raw_ostream &O,const Module*) const {
|
||||
|
||||
// dump - call print(cerr);
|
||||
void Pass::dump() const {
|
||||
print(errs(), 0);
|
||||
print(dbgs(), 0);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user