summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-cov.rst
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-07-11 01:23:29 +0000
committerVedant Kumar <vsk@apple.com>2017-07-11 01:23:29 +0000
commit7fa75105807608b34d59ed44f63eef994129622f (patch)
tree72001c10a87d20135ef756a11b29721ff99d1d55 /llvm/docs/CommandGuide/llvm-cov.rst
parent5a22d3fd11475e853b3a2af93f79bce8f534d0ef (diff)
downloadbcm5719-llvm-7fa75105807608b34d59ed44f63eef994129622f.tar.gz
bcm5719-llvm-7fa75105807608b34d59ed44f63eef994129622f.zip
[llvm-cov] Add a cl::opt to control the number of threads
When an output directory is specified, llvm-cov spawns some threads to speed up the process of writing out file reports. Add an option which allows users to control how many threads llvm-cov uses. A CommandGuide.rst update + test is included. llvm-svn: 307609
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-cov.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-cov.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst
index ea2e625bc4d..47db8d04e0b 100644
--- a/llvm/docs/CommandGuide/llvm-cov.rst
+++ b/llvm/docs/CommandGuide/llvm-cov.rst
@@ -262,6 +262,12 @@ OPTIONS
The demangler is expected to read a newline-separated list of symbols from
stdin and write a newline-separated list of the same length to stdout.
+.. option:: -num-threads=N, -j=N
+
+ Use N threads to write file reports (only applicable when -output-dir is
+ specified). When N=0, llvm-cov auto-detects an appropriate number of threads to
+ use. This is the default.
+
.. option:: -line-coverage-gt=<N>
Show code coverage only for functions with line coverage greater than the
OpenPOWER on IntegriCloud