forked from OSchip/llvm-project
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases. llvm-svn: 92039
This commit is contained in:
parent
cbdcfe802a
commit
a7b92ee147
|
@ -15,6 +15,7 @@
|
|||
#include "llvm/Analysis/Passes.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/InstVisitor.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
@ -45,7 +46,7 @@ namespace {
|
|||
#include "llvm/Instruction.def"
|
||||
|
||||
void visitInstruction(Instruction &I) {
|
||||
errs() << "Instruction Count does not know about " << I;
|
||||
dbgs() << "Instruction Count does not know about " << I;
|
||||
llvm_unreachable(0);
|
||||
}
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue