summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/utils/prepare-code-coverage-artifact.py
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-06-23 21:36:31 +0000
committerpatrick <patrick@openbsd.org>2019-06-23 21:36:31 +0000
commit23f101f37937a1bd4a29726cab2f76e0fb038b35 (patch)
treef7da7d6b32c2e07114da399150bfa88d72187012 /gnu/llvm/utils/prepare-code-coverage-artifact.py
parentsort previous; ok deraadt (diff)
downloadwireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.tar.xz
wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.zip
Import LLVM 8.0.0 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/utils/prepare-code-coverage-artifact.py')
-rw-r--r--gnu/llvm/utils/prepare-code-coverage-artifact.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/llvm/utils/prepare-code-coverage-artifact.py b/gnu/llvm/utils/prepare-code-coverage-artifact.py
index 883cdd78049..5c4af242d0d 100644
--- a/gnu/llvm/utils/prepare-code-coverage-artifact.py
+++ b/gnu/llvm/utils/prepare-code-coverage-artifact.py
@@ -51,7 +51,8 @@ def prepare_html_report(host_llvm_cov, profile, report_dir, binaries,
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,