llvm-cov outputting coverage results as HTML reports

Dear All,

I am helping our test team migrate from gcov to llvmcov. They currently generate HTML reports using lcov to easily navigate where coverage is missing. However, there does not seem to be a Windows compatible solution for generating HTML reports using the llvm-cov tools.

A possible solution to this problem is for llvm-cov to create html pages that include an overall coverage summary with links to individual html pages that show the coverage report for each source file in the project. A new option (-html) might be added into llvm-cov show command options.

I would like people’s opinions first so that may be acceptable when I come to upstream this.

Kind Regards,

Harlan Haskins has recently submitted a patch (for review) that implements --format=html for llvm-cov tool. Please take a look at that patch.

David

Xinliang David Li via llvm-dev <llvm-dev@lists.llvm.org> writes:

Harlan Haskins has recently submitted a patch (for review) that implements
--format=html for llvm-cov tool. Please take a look at that patch.

For reference, the review thread starts here:

http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160229/336622.html

Thanks David and Justin for the information. I will take a look.

Maggie

The patch is really useful. I have put some comments into the review thread.

Thanks