diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-28 22:53:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-28 22:53:49 +0000 |
commit | 368820586bafcf620159e2e53c4fed557ab057b5 (patch) | |
tree | 017c0bf96a6492ef6cb85d653fb1d3ffe381572e /tools | |
parent | 8a209dd030e9bc4beb0cda1e1482035ce3ae8147 (diff) | |
download | external_llvm-368820586bafcf620159e2e53c4fed557ab057b5.zip external_llvm-368820586bafcf620159e2e53c4fed557ab057b5.tar.gz external_llvm-368820586bafcf620159e2e53c4fed557ab057b5.tar.bz2 |
Cleanup output a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-prof/llvm-prof.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/llvm-prof/llvm-prof.cpp b/tools/llvm-prof/llvm-prof.cpp index c487da9..ba09c89 100644 --- a/tools/llvm-prof/llvm-prof.cpp +++ b/tools/llvm-prof/llvm-prof.cpp @@ -74,7 +74,9 @@ int main(int argc, char **argv) { TotalExecutions += FunctionCounts[i].second; std::cout << "===" << std::string(73, '-') << "===\n" - << "LLVM profiling output for:\n"; + << "LLVM profiling output for execution"; + if (PI.getNumExecutions() != 1) std::cout << "s"; + std::cout << ":\n"; for (unsigned i = 0, e = PI.getNumExecutions(); i != e; ++i) { std::cout << " "; |