Add a newline to the end of this file.
[oota-llvm.git] / lib / Analysis / IPA / CallGraphSCCPass.cpp
index e28a2a55d5140167c6a0bfc6f25e088b9a3a0429..03db7f940b62dee1be4f533786ab5b79fe760fe3 100644 (file)
@@ -107,7 +107,7 @@ bool CGPassManager::runOnModule(Module &M) {
         for (unsigned i = 0, e = SCC.size(); i != e; ++i) {
           Function *F = SCC[i]->getFunction();
           if (F) {
-            dumpPassInfo(P, EXECUTION_MSG, ON_FUNCTION_MSG, F->getName());
+            dumpPassInfo(P, EXECUTION_MSG, ON_FUNCTION_MSG, F->getNameStart());
             Changed |= FPP->runOnFunction(*F);
           }
         }