[cmake-developers] llvm coverage format .profdata

Alex Ciobanu alex at rogue-research.com
Mon Aug 15 14:24:46 EDT 2016


Hi,

As many of you know, clang now outputs coverage information using the LLVM format described here:
    http://llvm.org/docs/CoverageMappingFormat.html <http://llvm.org/docs/CoverageMappingFormat.html> 

Notably, Xcode 7.3 and later uses this format for its code coverage functionality.

Currently CMake/CTest looks for the following types of files:
     Cannot find any GCov coverage files.
     Not a valid Intel Coverage command.
     Cannot find any Python Trace.py coverage files.
     Cannot find Cobertura XML file: .../coverage.xml
     Cannot find GTM coverage file: .../gtm_coverage.mcov
     Cannot find Cache coverage file: .../cache_coverage.cmcov
     Cannot find Jacoco coverage files: .../*jacoco.xml
     Cannot find BlanketJS coverage files: .../*.json
     Cannot find any coverage files. Ignoring Coverage request.
     Cannot find Delphi coverage files: .../*(*.pas).html

The .profdata format for LLVM coverage data does not seem to be supported yet.

Are there any plans in this direction?

Also is anyone aware of a way to get this coverage data displayed on the CDash dashboard, maybe by converting it to another format?

sincerely,
Alex Ciobanu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160815/b38e66cf/attachment.html>


More information about the cmake-developers mailing list