aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-prof
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-25 00:43:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-25 00:43:31 +0000
commit7c8e5731d1a6a1a1f8313b7d3a02163b485f19e0 (patch)
tree87f57e629063a63471205a02a8cf4347c4ee2a6e /tools/llvm-prof
parent4ded2824b2e221e0d55f5b8178a04210c4132e38 (diff)
downloadexternal_llvm-7c8e5731d1a6a1a1f8313b7d3a02163b485f19e0.zip
external_llvm-7c8e5731d1a6a1a1f8313b7d3a02163b485f19e0.tar.gz
external_llvm-7c8e5731d1a6a1a1f8313b7d3a02163b485f19e0.tar.bz2
One more getName -> getNameStr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-prof')
-rw-r--r--tools/llvm-prof/llvm-prof.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-prof/llvm-prof.cpp b/tools/llvm-prof/llvm-prof.cpp
index f807234..8dd26b0 100644
--- a/tools/llvm-prof/llvm-prof.cpp
+++ b/tools/llvm-prof/llvm-prof.cpp
@@ -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);
}