]> granicus.if.org Git - llvm/commit
[llvm-cov] Add a cl::opt to control the number of threads
authorVedant Kumar <vsk@apple.com>
Tue, 11 Jul 2017 01:23:29 +0000 (01:23 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 11 Jul 2017 01:23:29 +0000 (01:23 +0000)
commit574c516223c8c814f07e2314be5ea3e28a4d8c4e
tree42337a540d490b83f9466ed81a61b895d6a0469a
parent1b67e9a22a0a3c868991cb7380bd76b831e06124
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307609 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CommandGuide/llvm-cov.rst
test/tools/llvm-cov/threads.c [new file with mode: 0644]
tools/llvm-cov/CodeCoverage.cpp