1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/tools/llvm-cov
Devang Patel 3605f8423f Introduce llvm-cov.
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
2011-09-28 18:50:00 +00:00
..
CMakeLists.txt Introduce llvm-cov. 2011-09-28 18:50:00 +00:00
GCOVReader.cpp Introduce llvm-cov. 2011-09-28 18:50:00 +00:00
GCOVReader.h Introduce llvm-cov. 2011-09-28 18:50:00 +00:00
llvm-cov.cpp Introduce llvm-cov. 2011-09-28 18:50:00 +00:00
Makefile Introduce llvm-cov. 2011-09-28 18:50:00 +00:00