[PATCH] D109019: [CMake] Add targets for generating coverage reports

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 31 13:10:53 PDT 2021


beanz created this revision.
beanz added reviewers: vsk, phosek, compnerd, smeenai.
Herald added a subscriber: mgorny.
beanz requested review of this revision.
Herald added a project: LLVM.

This is a pretty small bit of CMake goop to generate code coverage
reports. I always forget the right script invocation and end up
fumbling around too much.

Wouldn't it be great to have targets that "Just Work"?

Well, I thought so.

At present this only really works correctly for LLVM, but I'll extend
it in subsequent patches to work for subprojects.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109019

Files:
  llvm/CMakeLists.txt
  llvm/cmake/modules/CoverageReport.cmake
  llvm/docs/CMake.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109019.369773.patch
Type: text/x-patch
Size: 5240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210831/59b4fdec/attachment.bin>


More information about the llvm-commits mailing list