[PATCH] Code coverage tool that uses the new coverage mapping format and clang's instrumentation based profiling data
arphaman at gmail.com
Wed Jul 9 16:47:46 PDT 2014
Hi bob.wilson, dexonsmith, bogner,
The patch provides the initial implementation of the updated code coverage tool
that uses clang's instrumentation based profiling data (the -fprofile-instr-generate option) and the
new coverage mapping format.
The gcov compatible tool is still there. To invoke the new tool, pass the 'show' or 'report' command as the first argument to llvm-cov.
The show command displays the code coverage information for a set of source code files of a program. Some of its options follow:
-show-expansions - Show macro expansions
-show-instantiations - Show template/static functions instantiations
-show-regions - Show region markers
-show-line-counts - Show execution counts for each line (enabled by default).
The report command displays a couple of code coverage metrics for files/functions in a concise table.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 100919 bytes
Desc: not available
More information about the llvm-commits