mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 16:56:39 +00:00
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92665 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c1bda3b8ff
commit
9a6c940d7c
@ -16,6 +16,7 @@
|
|||||||
#include "llvm/Function.h"
|
#include "llvm/Function.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/Module.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
|
#include "llvm/Support/Debug.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
@ -26,7 +27,7 @@ namespace {
|
|||||||
bool DeleteStream; // Delete the ostream in our dtor?
|
bool DeleteStream; // Delete the ostream in our dtor?
|
||||||
public:
|
public:
|
||||||
static char ID;
|
static char ID;
|
||||||
PrintModulePass() : ModulePass(&ID), Out(&errs()),
|
PrintModulePass() : ModulePass(&ID), Out(&dbgs()),
|
||||||
DeleteStream(false) {}
|
DeleteStream(false) {}
|
||||||
PrintModulePass(raw_ostream *o, bool DS)
|
PrintModulePass(raw_ostream *o, bool DS)
|
||||||
: ModulePass(&ID), Out(o), DeleteStream(DS) {}
|
: ModulePass(&ID), Out(o), DeleteStream(DS) {}
|
||||||
@ -51,7 +52,7 @@ namespace {
|
|||||||
bool DeleteStream; // Delete the ostream in our dtor?
|
bool DeleteStream; // Delete the ostream in our dtor?
|
||||||
public:
|
public:
|
||||||
static char ID;
|
static char ID;
|
||||||
PrintFunctionPass() : FunctionPass(&ID), Banner(""), Out(&errs()),
|
PrintFunctionPass() : FunctionPass(&ID), Banner(""), Out(&dbgs()),
|
||||||
DeleteStream(false) {}
|
DeleteStream(false) {}
|
||||||
PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS)
|
PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS)
|
||||||
: FunctionPass(&ID), Banner(B), Out(o), DeleteStream(DS) {}
|
: FunctionPass(&ID), Banner(B), Out(o), DeleteStream(DS) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user