summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov
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
* LLVMBuild: Remove trailing newline, which irked me.Daniel Dunbar2011-12-121-1/+0
| | | | llvm-svn: 146409
* LLVMBuild: Add description files for the LLVM tools.Daniel Dunbar2011-11-111-0/+23
| | | | llvm-svn: 144417
* build: Tidy up a bunch of tool Makefiles, and simplify where possible using theDaniel Dunbar2011-10-181-4/+3
| | | | | | new all-targets pseudo-component. llvm-svn: 142401
* Update cmake list.Devang Patel2011-10-041-1/+0
| | | | llvm-svn: 141104
* Put GCOVFile and other related interface in a common header so that llvm-cov ↵Devang Patel2011-10-043-506/+1
| | | | | | tool can share it with GCOV writer. llvm-svn: 141095
* Simplify.Devang Patel2011-09-291-11/+17
| | | | llvm-svn: 140789
* Clarify comments.Devang Patel2011-09-292-4/+3
| | | | llvm-svn: 140787
* Remove unnecessary and unused data member.Devang Patel2011-09-292-3/+2
| | | | llvm-svn: 140786
* Cosmetic changes, as per Nick's review.Devang Patel2011-09-294-21/+16
| | | | llvm-svn: 140785
* Introduce llvm-cov.Devang Patel2011-09-285-0/+608
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