Output "external node" rather than "Indirect CallGraph node" when printing
[oota-llvm.git] / tools / opt / PrintSCC.cpp
index 66709ffa196a9f5d00fb3f1e00a1abfb5bb60f38..ea486ca2900057c5490e9965900b78da6b849040 100644 (file)
@@ -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).";
   }