summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2013-10-22 05:09:41 +0000
committerBob Wilson <bob.wilson@apple.com>2013-10-22 05:09:41 +0000
commit3461bedbfd1531fd40c252b77aaf3c04900b50ee (patch)
treea0d3175c73e47bdb55c62130a997f2e508d19997 /llvm/tools/llvm-cov
parentd5990ad9b61d26fd87334f063b3c47e4b1e205e7 (diff)
downloadbcm5719-llvm-3461bedbfd1531fd40c252b77aaf3c04900b50ee.tar.gz
bcm5719-llvm-3461bedbfd1531fd40c252b77aaf3c04900b50ee.zip
Change llvm-cov output formatting to be more similar to gcov.
- Replaced tabs with proper padding - print() takes two arguments, which are the GCNO and GCDA filenames - Files are listed at the top of output, appended by line 0 - Stripped strings of trailing \0s - Removed last two lines of whitespace in output Patch by Yuchen Wu! llvm-svn: 193148
Diffstat (limited to 'llvm/tools/llvm-cov')
-rw-r--r--llvm/tools/llvm-cov/llvm-cov.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/llvm-cov.cpp b/llvm/tools/llvm-cov/llvm-cov.cpp
index 74046791456..26aec4632b5 100644
--- a/llvm/tools/llvm-cov/llvm-cov.cpp
+++ b/llvm/tools/llvm-cov/llvm-cov.cpp
@@ -74,6 +74,6 @@ int main(int argc, char **argv) {
FileInfo FI;
GF.collectLineCounts(FI);
- FI.print();
+ FI.print(InputGCNO, InputGCDA);
return 0;
}
OpenPOWER on IntegriCloud