summaryrefslogtreecommitdiff
path: root/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
commit270862dad4d12da5fd7f030210a9d66c8247d0cb (patch)
treee1836323b384e25c3f783b5aa033fb88f23473d1 /lib/Analysis/InstCount.cpp
parent63c4560526c54d443e224e7c18701b1f5857e6bf (diff)
downloadllvm-270862dad4d12da5fd7f030210a9d66c8247d0cb.tar.gz
llvm-270862dad4d12da5fd7f030210a9d66c8247d0cb.tar.bz2
llvm-270862dad4d12da5fd7f030210a9d66c8247d0cb.tar.xz
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InstCount.cpp')
-rw-r--r--lib/Analysis/InstCount.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp
index a4b041f02a..4af6acb0f9 100644
--- a/lib/Analysis/InstCount.cpp
+++ b/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: