[PATCH] D53110: [Coverage] Apply filtered paths to summary

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 10 21:02:51 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL344217: [Coverage] Apply filtered paths to summary (authored by cbieneman, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D53110

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


Index: llvm/trunk/utils/prepare-code-coverage-artifact.py
===================================================================
--- llvm/trunk/utils/prepare-code-coverage-artifact.py
+++ llvm/trunk/utils/prepare-code-coverage-artifact.py
@@ -51,7 +51,8 @@
     subprocess.check_call(invocation)
     with open(os.path.join(report_dir, 'summary.txt'), 'wb') as Summary:
         subprocess.check_call([host_llvm_cov, 'report'] + objects +
-                               ['-instr-profile', profile], stdout=Summary)
+                               ['-instr-profile', profile] + restricted_dirs,
+                               stdout=Summary)
     print('Done!')
 
 def prepare_html_reports(host_llvm_cov, profdata_path, report_dir, binaries,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53110.169147.patch
Type: text/x-patch
Size: 740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181011/ded73224/attachment.bin>


More information about the llvm-commits mailing list