diff options
author | David Greene <greened@obbligato.org> | 2009-12-23 20:03:58 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-12-23 20:03:58 +0000 |
commit | ba44b3ed59413badd16b4db84f3126c2a23fb315 (patch) | |
tree | 9cd64b0daeafbf44dbcef11f17922b7bbe03743f /llvm/lib/Analysis | |
parent | 23e8c74d69c1186e3086a3e75759ab53a7d55553 (diff) | |
download | bcm5719-llvm-ba44b3ed59413badd16b4db84f3126c2a23fb315.tar.gz bcm5719-llvm-ba44b3ed59413badd16b4db84f3126c2a23fb315.zip |
Convert debug messages to use dbgs(). Generally this means
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92034
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index 9cd8bb8c2df..a826177d6bd 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/lib/Analysis/IPA/CallGraph.cpp @@ -17,6 +17,7 @@ #include "llvm/Instructions.h" #include "llvm/IntrinsicInst.h" #include "llvm/Support/CallSite.h" +#include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" using namespace llvm; @@ -181,7 +182,7 @@ void CallGraph::print(raw_ostream &OS, Module*) const { I->second->print(OS); } void CallGraph::dump() const { - print(errs(), 0); + print(dbgs(), 0); } //===----------------------------------------------------------------------===// @@ -232,7 +233,7 @@ void CallGraphNode::print(raw_ostream &OS) const { OS << "\n"; } -void CallGraphNode::dump() const { print(errs()); } +void CallGraphNode::dump() const { print(dbgs()); } /// removeCallEdgeFor - This method removes the edge in the node for the /// specified call site. Note that this method takes linear time, so it |