[llvm-commits] [llvm] r77027 - /llvm/trunk/tools/llvm-prof/llvm-prof.cpp

Daniel Dunbar daniel at zuster.org
Fri Jul 24 17:43:31 PDT 2009


Author: ddunbar
Date: Fri Jul 24 19:43:31 2009
New Revision: 77027

URL: http://llvm.org/viewvc/llvm-project?rev=77027&view=rev
Log:
One more getName -> getNameStr

Modified:
    llvm/trunk/tools/llvm-prof/llvm-prof.cpp

Modified: llvm/trunk/tools/llvm-prof/llvm-prof.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-prof/llvm-prof.cpp?rev=77027&r1=77026&r2=77027&view=diff

==============================================================================
--- llvm/trunk/tools/llvm-prof/llvm-prof.cpp (original)
+++ llvm/trunk/tools/llvm-prof/llvm-prof.cpp Fri Jul 24 19:43:31 2009
@@ -185,7 +185,7 @@
     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 @@
         << 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);
     }
 





More information about the llvm-commits mailing list