mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Print out what the root of the call graph is.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b59d8199e0
commit
5648b58a19
@ -150,6 +150,8 @@ void WriteToOutput(const CallGraphNode *CGN, std::ostream &o) {
|
||||
}
|
||||
|
||||
void WriteToOutput(const CallGraph &CG, std::ostream &o) {
|
||||
o << "CallGraph Root is:\n" << CG.getRoot();
|
||||
|
||||
for (CallGraph::const_iterator I = CG.begin(), E = CG.end(); I != E; ++I)
|
||||
o << I->second;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user