[llvm] 64425ca - [llvm-cov] Enable `-show-directory-coverage` for LLVM itself.

Yuhao Gu via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 05:26:35 PDT 2023


Author: Yuhao Gu
Date: 2023-08-24T20:26:12+08:00
New Revision: 64425caba29e62b42dfa7e03a47a37d9ee9c47aa

URL: https://github.com/llvm/llvm-project/commit/64425caba29e62b42dfa7e03a47a37d9ee9c47aa
DIFF: https://github.com/llvm/llvm-project/commit/64425caba29e62b42dfa7e03a47a37d9ee9c47aa.diff

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

My previous patch 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.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D158703

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/utils/prepare-code-coverage-artifact.py b/llvm/utils/prepare-code-coverage-artifact.py
index 9a517291869703..b865211088c8e9 100755
--- a/llvm/utils/prepare-code-coverage-artifact.py
+++ b/llvm/utils/prepare-code-coverage-artifact.py
@@ -67,6 +67,7 @@ def prepare_html_report(
             "-o",
             report_dir,
             "-show-line-counts-or-regions",
+            "-show-directory-coverage",
             "-Xdemangler",
             "c++filt",
             "-Xdemangler",


        


More information about the llvm-commits mailing list