summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstCount.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-12-23 20:34:27 +0000
committerDavid Greene <greened@obbligato.org>2009-12-23 20:34:27 +0000
commita7b92ee1471f38b0e95452e7d1fafc6ce0aa8a43 (patch)
treef4b85fa6042243b4b1355bd49b72e8450db29432 /llvm/lib/Analysis/InstCount.cpp
parentcbdcfe802a756246c1fa651101c78d10fdcce2f0 (diff)
downloadbcm5719-llvm-a7b92ee1471f38b0e95452e7d1fafc6ce0aa8a43.tar.gz
bcm5719-llvm-a7b92ee1471f38b0e95452e7d1fafc6ce0aa8a43.zip
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases. llvm-svn: 92039
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
-rw-r--r--llvm/lib/Analysis/InstCount.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp
index a4b041f02a3..4af6acb0f97 100644
--- a/llvm/lib/Analysis/InstCount.cpp
+++ b/llvm/lib/Analysis/InstCount.cpp
@@ -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:
OpenPOWER on IntegriCloud