[PATCH] D105826: [docs/llvm-cov] Document -compilation-dir
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 13 09:44:13 PDT 2021
vsk updated this revision to Diff 358313.
vsk added a comment.
Include -ffile-compilation-dir.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105826/new/
https://reviews.llvm.org/D105826
Files:
llvm/docs/CommandGuide/llvm-cov.rst
Index: llvm/docs/CommandGuide/llvm-cov.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-cov.rst
+++ llvm/docs/CommandGuide/llvm-cov.rst
@@ -310,6 +310,12 @@
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 @@
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 @@
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`.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105826.358313.patch
Type: text/x-patch
Size: 1513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210713/ceb6cd59/attachment.bin>
More information about the llvm-commits
mailing list