mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
[docs/llvm-cov] Document -compilation-dir
Document the `-compilation-dir` option added in D100232. Differential Revision: https://reviews.llvm.org/D105826
This commit is contained in:
1 parent
d558bfaf8e
commit
5105a77035
1 file changed
+18
@@ -310,6 +310,12 @@ OPTIONS
|
||||
specified). When N=0, llvm-cov auto-detects an appropriate number of threads to
|
||||
use. This is the default.
|
||||
|
||||
.. option:: -compilation-dir=<dir>
|
||||
|
||||
Directory used as a base for relative coverage mapping paths. Only applicable
|
||||
when binaries have been compiled with one of `-fcoverage-prefix-map`
|
||||
`-fcoverage-compilation-dir`, or `-ffile-compilation-dir`.
|
||||
|
||||
.. option:: -line-coverage-gt=<N>
|
||||
|
||||
Show code coverage only for functions with line coverage greater than the
|
||||
@@ -399,6 +405,12 @@ OPTIONS
|
||||
|
||||
Skip source code files with file paths that match the given regular expression.
|
||||
|
||||
.. option:: -compilation-dir=<dir>
|
||||
|
||||
Directory used as a base for relative coverage mapping paths. Only applicable
|
||||
when binaries have been compiled with one of `-fcoverage-prefix-map`
|
||||
`-fcoverage-compilation-dir`, or `-ffile-compilation-dir`.
|
||||
|
||||
.. program:: llvm-cov export
|
||||
|
||||
.. _llvm-cov-export:
|
||||
@@ -467,3 +479,9 @@ OPTIONS
|
||||
|
||||
Use N threads to export coverage data. When N=0, llvm-cov auto-detects an
|
||||
appropriate number of threads to use. This is the default.
|
||||
|
||||
.. option:: -compilation-dir=<dir>
|
||||
|
||||
Directory used as a base for relative coverage mapping paths. Only applicable
|
||||
when binaries have been compiled with one of `-fcoverage-prefix-map`
|
||||
`-fcoverage-compilation-dir`, or `-ffile-compilation-dir`.
|
||||
Reference in new issue
Block a user