diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-14 19:17:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-14 19:17:02 +0000 |
commit | bc351e171fcdaa34d64d10bb2a777cdf11554e72 (patch) | |
tree | ce4993ead6a9fcd6f25eb58fb7118fb9c3b60f66 /llvm/lib/Analysis/IPA/CallGraph.cpp | |
parent | 542c3c17a9efb0ca75ffc90666eca6cbe058271b (diff) | |
download | bcm5719-llvm-bc351e171fcdaa34d64d10bb2a777cdf11554e72.tar.gz bcm5719-llvm-bc351e171fcdaa34d64d10bb2a777cdf11554e72.zip |
add a dump method to CallGraph
llvm-svn: 25314
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index 03f73fa8d20..29b8ed4a7f0 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/lib/Analysis/IPA/CallGraph.cpp @@ -216,6 +216,10 @@ void CallGraph::print(std::ostream &OS, const Module *M) const { I->second->print(OS); } +void CallGraph::dump() const { + print(std::cerr, 0); +} + //===----------------------------------------------------------------------===// // Implementations of public modification methods // |