commit | 1694ec615f71e25de6d07ffc6fe29deed353c657 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jan 14 19:17:02 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jan 14 19:17:02 2006 +0000 |
tree | 9a6bef86169e13e7a785a907921e74d63e6daec1 | |
parent | 3a04ffbf6daa66e489aaf29f6c9c728d7272d8a8 [diff] [blame] |
add a dump method to CallGraph git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25314 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp index 03f73fa..29b8ed4 100644 --- a/lib/Analysis/IPA/CallGraph.cpp +++ b/lib/Analysis/IPA/CallGraph.cpp
@@ -216,6 +216,10 @@ I->second->print(OS); } +void CallGraph::dump() const { + print(std::cerr, 0); +} + //===----------------------------------------------------------------------===// // Implementations of public modification methods //