[llvm-commits] [llvm] r92039 - /llvm/trunk/lib/Analysis/InstCount.cpp
David Greene
greened at obbligato.org
Wed Dec 23 12:34:27 PST 2009
Author: greened
Date: Wed Dec 23 14:34:27 2009
New Revision: 92039
URL: http://llvm.org/viewvc/llvm-project?rev=92039&view=rev
Log:
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases.
Modified:
llvm/trunk/lib/Analysis/InstCount.cpp
Modified: llvm/trunk/lib/Analysis/InstCount.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InstCount.cpp?rev=92039&r1=92038&r2=92039&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InstCount.cpp (original)
+++ llvm/trunk/lib/Analysis/InstCount.cpp Wed Dec 23 14:34:27 2009
@@ -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 @@
#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:
More information about the llvm-commits
mailing list