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 | c88f7bb3172fbfed10ed605c638e7658699044f5 (patch) | |
tree | f62a75a5d4b0aca03036a9e271e3f6ff4787ca48 /llvm/tools/llvm-prof/llvm-prof.cpp | |
parent | 2c14d253c473f15838360c5dbdbb406bb9b98761 (diff) | |
download | bcm5719-llvm-c88f7bb3172fbfed10ed605c638e7658699044f5.tar.gz bcm5719-llvm-c88f7bb3172fbfed10ed605c638e7658699044f5.zip |
Cleanup output a bit
llvm-svn: 9567
Diffstat (limited to 'llvm/tools/llvm-prof/llvm-prof.cpp')
-rw-r--r-- | llvm/tools/llvm-prof/llvm-prof.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-prof/llvm-prof.cpp b/llvm/tools/llvm-prof/llvm-prof.cpp index c487da959ff..ba09c898a4e 100644 --- a/llvm/tools/llvm-prof/llvm-prof.cpp +++ b/llvm/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 << " "; |