summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-cov.rst
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2019-10-29 15:47:23 -0700
committerVedant Kumar <vsk@apple.com>2019-10-29 18:26:33 -0700
commitbfed824b57d14e2ba98ddbaf1a1410cf04a3e279 (patch)
treeef8dc4694911d21ef423ad7c023fb4997b541be9 /llvm/docs/CommandGuide/llvm-cov.rst
parent3b982b11f4e7c45c59ff80136efab7c116313e98 (diff)
downloadbcm5719-llvm-bfed824b57d14e2ba98ddbaf1a1410cf04a3e279.tar.gz
bcm5719-llvm-bfed824b57d14e2ba98ddbaf1a1410cf04a3e279.zip
[llvm-cov] Add option to whitelist filenames
Add the `-whitelist-filename-regex` option to restrict coverage reporting to file paths that match a whitelist regex. Patch by Michael Daniels! rdar://56720320
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-cov.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-cov.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst
index 08123e8cb78..9bc9f7edae2 100644
--- a/llvm/docs/CommandGuide/llvm-cov.rst
+++ b/llvm/docs/CommandGuide/llvm-cov.rst
@@ -259,6 +259,10 @@ OPTIONS
Skip source code files with file paths that match the given regular expression.
+.. option:: -whitelist-filename-regex=<PATTERN>
+
+ Show code coverage only for files that match the given regular expression.
+
.. option:: -format=<FORMAT>
Use the specified output format. The supported formats are: "text", "html".
OpenPOWER on IntegriCloud