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 | 1694ec615f71e25de6d07ffc6fe29deed353c657 (patch) | |
tree | 9a6bef86169e13e7a785a907921e74d63e6daec1 /lib/Analysis/IPA/CallGraph.cpp | |
parent | 3a04ffbf6daa66e489aaf29f6c9c728d7272d8a8 (diff) |
add a dump method to CallGraph
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | lib/Analysis/IPA/CallGraph.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp index 03f73fa8d2..29b8ed4a7f 100644 --- a/lib/Analysis/IPA/CallGraph.cpp +++ b/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 // |