summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/llvm-cov.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Change llvm-cov output formatting to be more similar to gcov.Bob Wilson2013-10-221-1/+1
| | | | | | | | | | | | - 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
* Move the printing of llvm-cov information out from collectLineCounts().Bob Wilson2013-10-221-0/+1
| | | | | | | | | | collectLineCounts() should only organize the output data. This is done in anticipation of subsequent changes which will pass in GCNO and GCDA filenames into the print function where it is printed similar to the gcov output. Patch by Yuchen Wu! llvm-svn: 193134
* Remove accidental commit.Bill Wendling2012-11-071-21/+0
| | | | llvm-svn: 167544
* Add comment describing what's going on here.Bill Wendling2012-11-071-0/+21
| | | | llvm-svn: 167525
* Put GCOVFile and other related interface in a common header so that llvm-cov ↵Devang Patel2011-10-041-1/+1
| | | | | | tool can share it with GCOV writer. llvm-svn: 141095
* Clarify comments.Devang Patel2011-09-291-1/+0
| | | | llvm-svn: 140787
* Cosmetic changes, as per Nick's review.Devang Patel2011-09-291-12/+8
| | | | llvm-svn: 140785
* Introduce llvm-cov.Devang Patel2011-09-281-0/+83
Add llvm-cov skeleton. It has initial support to read coverage info generated by GCOVProfiling.cpp. Today, you can do prompt> clang a.c -ftest-coverage -fprofile-arcs -o a prompt> ./a prompt> llvm-cov -gcno a.gcno -gcda a.gcda a.c : #include "a.h" : : int main() { : int i = 0; : if (i) { 1: int j = 0; 1: j = 1; 1: } else { : int k = 1; : k = 2; : } 1: return 0; : } : : llvm-svn: 140712
OpenPOWER on IntegriCloud