aboutsummaryrefslogtreecommitdiff
path: root/tools/opt/PrintSCC.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-06-09 17:35:00 +0000
committerDuncan Sands <baldrick@free.fr>2010-06-09 17:35:00 +0000
commitc0ccc7041433c8dcac8ef8c88e167c6917149487 (patch)
treecb4008c847f677eb0c0760abb87efafdda1639d9 /tools/opt/PrintSCC.cpp
parent622dffde8691a33180e2368184b9f4efa6a86fbc (diff)
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
Diffstat (limited to 'tools/opt/PrintSCC.cpp')
-rw-r--r--tools/opt/PrintSCC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp
index 66709ffa19..ea486ca290 100644
--- a/tools/opt/PrintSCC.cpp
+++ b/tools/opt/PrintSCC.cpp
@@ -102,7 +102,7 @@ bool CallGraphSCC::runOnModule(Module &M) {
for (std::vector<CallGraphNode*>::const_iterator I = nextSCC.begin(),
E = nextSCC.end(); I != E; ++I)
outs() << ((*I)->getFunction() ? (*I)->getFunction()->getNameStr()
- : std::string("Indirect CallGraph node")) << ", ";
+ : std::string("external node")) << ", ";
if (nextSCC.size() == 1 && SCCI.hasLoop())
outs() << " (Has self-loop).";
}