[llvm] 5105a77 - [docs/llvm-cov] Document -compilation-dir
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 13 13:10:15 PDT 2021
Author: Vedant Kumar
Date: 2021-07-13T13:10:02-07:00
New Revision: 5105a77035d080a5f14668b136c8def52b182ce2
URL: https://github.com/llvm/llvm-project/commit/5105a77035d080a5f14668b136c8def52b182ce2
DIFF: https://github.com/llvm/llvm-project/commit/5105a77035d080a5f14668b136c8def52b182ce2.diff
LOG: [docs/llvm-cov] Document -compilation-dir
Document the `-compilation-dir` option added in D100232.
Differential Revision: https://reviews.llvm.org/D105826
Added:
Modified:
llvm/docs/CommandGuide/llvm-cov.rst
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst
index 98885d4453954..5f4c6e4fb25c7 100644
--- a/llvm/docs/CommandGuide/llvm-cov.rst
+++ b/llvm/docs/CommandGuide/llvm-cov.rst
@@ -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`.
More information about the llvm-commits
mailing list