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.