[PATCH] D158703: [llvm-cov] Enable `-show-directory-coverage` for LLVM itself.

Yuhao Gu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 22:07:22 PDT 2023


AtomicGu created this revision.
AtomicGu added reviewers: phosek, gulfem, davidxl.
Herald added a project: All.
AtomicGu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

My previous patch D151283 <https://reviews.llvm.org/D151283> added a new option to llvm-cov to make it generate a hierarchical report for better view. This patch is to enable it for the coverage report of LLVM itself.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158703

Files:
  llvm/utils/prepare-code-coverage-artifact.py


Index: llvm/utils/prepare-code-coverage-artifact.py
===================================================================
--- llvm/utils/prepare-code-coverage-artifact.py
+++ llvm/utils/prepare-code-coverage-artifact.py
@@ -67,6 +67,7 @@
             "-o",
             report_dir,
             "-show-line-counts-or-regions",
+            "-show-directory-coverage",
             "-Xdemangler",
             "c++filt",
             "-Xdemangler",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158703.552988.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230824/dc7e90d3/attachment.bin>


More information about the llvm-commits mailing list