mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Didn't mean to commit this change to how the
callgraph is printed. llvm-svn: 55912
This commit is contained in:
parent
432600a47a
commit
590470e1f2
@ -272,15 +272,11 @@ void CallGraphNode::print(std::ostream &OS) const {
|
|||||||
else
|
else
|
||||||
OS << "Call graph node <<null function: 0x" << this << ">>:\n";
|
OS << "Call graph node <<null function: 0x" << this << ">>:\n";
|
||||||
|
|
||||||
for (const_iterator I = begin(), E = end(); I != E; ++I) {
|
for (const_iterator I = begin(), E = end(); I != E; ++I)
|
||||||
if (I->second->getFunction())
|
if (I->second->getFunction())
|
||||||
OS << " Calls function '" << I->second->getFunction()->getName() << "'";
|
OS << " Calls function '" << I->second->getFunction()->getName() <<"'\n";
|
||||||
else
|
else
|
||||||
OS << " Calls external node";
|
OS << " Calls external node\n";
|
||||||
if (I->first.getInstruction())
|
|
||||||
OS << " from '" << *I->first.getInstruction() << "'";
|
|
||||||
OS << "\n";
|
|
||||||
}
|
|
||||||
OS << "\n";
|
OS << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user