summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/utils/prepare-code-coverage-artifact.py
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2017-10-04 20:27:34 +0000
committerpatrick <patrick@openbsd.org>2017-10-04 20:27:34 +0000
commit31eb748944903b7f4f38afda9851951ca9dfc1ae (patch)
tree9b95b6ea45d0874d75eb05b90c0840e191416439 /gnu/llvm/utils/prepare-code-coverage-artifact.py
parentDon't try to handle IPv4-compatible IPv6 addresses (diff)
downloadwireguard-openbsd-31eb748944903b7f4f38afda9851951ca9dfc1ae.tar.xz
wireguard-openbsd-31eb748944903b7f4f38afda9851951ca9dfc1ae.zip
Import LLVM 5.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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/llvm/utils/prepare-code-coverage-artifact.py b/gnu/llvm/utils/prepare-code-coverage-artifact.py
index 726375e899c..883cdd78049 100644
--- a/gnu/llvm/utils/prepare-code-coverage-artifact.py
+++ b/gnu/llvm/utils/prepare-code-coverage-artifact.py
@@ -6,6 +6,9 @@ from __future__ import print_function
- Collate raw profiles into one indexed profile.
- Generate html reports for the given binaries.
+
+Caution: The positional arguments to this script must be specified before any
+optional arguments, such as --restrict.
'''
import argparse
@@ -84,7 +87,8 @@ if __name__ == '__main__':
help='Emit a unified report for all binaries')
parser.add_argument('--restrict', metavar='R', type=str, nargs='*',
default=[],
- help='Restrict the reporting to the given source paths')
+ help='Restrict the reporting to the given source paths'
+ ' (must be specified after all other positional arguments)')
args = parser.parse_args()
if args.use_existing_profdata and args.only_merge: