summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-cov/GCOVReader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Put GCOVFile and other related interface in a common header so that llvm-cov ↵Devang Patel2011-10-041-281/+0
| | | | | | tool can share it with GCOV writer. llvm-svn: 141095
* Simplify.Devang Patel2011-09-291-11/+17
| | | | llvm-svn: 140789
* Remove unnecessary and unused data member.Devang Patel2011-09-291-1/+1
| | | | llvm-svn: 140786
* Cosmetic changes, as per Nick's review.Devang Patel2011-09-291-7/+6
| | | | llvm-svn: 140785
* Introduce llvm-cov.Devang Patel2011-09-281-0/+276
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