Index: utils/prepare-code-coverage-artifact.py
===================================================================
--- utils/prepare-code-coverage-artifact.py
+++ 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,