mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Didn't mean to commit this change to how the
callgraph is printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9f1185076d
commit
28f02128ae
@ -272,15 +272,11 @@ void CallGraphNode::print(std::ostream &OS) const {
|
||||
else
|
||||
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())
|
||||
OS << " Calls function '" << I->second->getFunction()->getName() << "'";
|
||||
else
|
||||
OS << " Calls external node";
|
||||
if (I->first.getInstruction())
|
||||
OS << " from '" << *I->first.getInstruction() << "'";
|
||||
OS << "\n";
|
||||
}
|
||||
OS << " Calls function '" << I->second->getFunction()->getName() <<"'\n";
|
||||
else
|
||||
OS << " Calls external node\n";
|
||||
OS << "\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user