One more getName -> getNameStr
authorDaniel Dunbar <daniel@zuster.org>
Sat, 25 Jul 2009 00:43:31 +0000 (00:43 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 25 Jul 2009 00:43:31 +0000 (00:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77027 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-prof/llvm-prof.cpp

index f807234f82ae0ef41c7244763d923cc1a3fb51c1..8dd26b03c91c8e759256340d9099bd11088fe453 100644 (file)
@@ -185,7 +185,7 @@ bool ProfileInfoPrinterPass::runOnModule(Module &M) {
     std::cout << std::setw(3) << i+1 << ". " 
       << std::setw(5) << FunctionCounts[i].second << "/"
       << TotalExecutions << " "
-      << FunctionCounts[i].first->getName() << "\n";
+      << FunctionCounts[i].first->getNameStr() << "\n";
   }
 
   std::set<Function*> FunctionsToPrint;
@@ -219,8 +219,8 @@ bool ProfileInfoPrinterPass::runOnModule(Module &M) {
         << Counts[i].second/(double)TotalExecutions*100 << "% "
         << std::setw(5) << Counts[i].second << "/"
         << TotalExecutions << "\t"
-        << F->getName() << "() - "
-        << Counts[i].first->getName() << "\n";
+        << F->getNameStr() << "() - "
+        << Counts[i].first->getNameStr() << "\n";
       FunctionsToPrint.insert(F);
     }