llvm.org GIT mirror llvm / c0ccc70
Output "external node" rather than "Indirect CallGraph node" when printing callgraph SCC's. This makes it match what the node itself would print. Also, "indirect callgraph node" doesn't make sense - it has nothing particularly to do with indirect calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105730 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
101101 for (std::vector::const_iterator I = nextSCC.begin(),
102102 E = nextSCC.end(); I != E; ++I)
103103 outs() << ((*I)->getFunction() ? (*I)->getFunction()->getNameStr()
104 : std::string("Indirect CallGraph node")) << ", ";
104 : std::string("external node")) << ", ";
105105 if (nextSCC.size() == 1 && SCCI.hasLoop())
106106 outs() << " (Has self-loop).";
107107 }