This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
ebb3123a5f
Branches
Tags
No results found.
llvm-project
/
llvm
/
tools
/
llvm-cov
/
CMakeLists.txt
6 lines
83 B
CMake
Raw
Normal View
History
Unescape
Escape
llvm-cov requires IR and Support as libraries. Instrumentation would be overkill. llvm-svn: 194695
2013-11-14 19:45:16 +08:00
set
(
LLVM_LINK_COMPONENTS
core
support
)
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-29 02:50:00 +08:00
add_llvm_tool
(
llvm-cov
l
l
v
m
-
c
o
v
.
c
p
p
)