diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 00:43:31 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 00:43:31 +0000 |
commit | d5b385c09f134ccd5f9ed6f7b6b7a9f3410c6d44 (patch) | |
tree | 87f57e629063a63471205a02a8cf4347c4ee2a6e /tools/llvm-prof | |
parent | 3c91f36a4588df306284db0dece0590e846b5f55 (diff) | |
download | external_llvm-d5b385c09f134ccd5f9ed6f7b6b7a9f3410c6d44.zip external_llvm-d5b385c09f134ccd5f9ed6f7b6b7a9f3410c6d44.tar.gz external_llvm-d5b385c09f134ccd5f9ed6f7b6b7a9f3410c6d44.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.cpp | 6 |
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); } |