[PATCH] D105826: [docs/llvm-cov] Document -compilation-dir

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 09:41:22 PDT 2021


vsk created this revision.
vsk added reviewers: phosek, zequanwu.
vsk requested review of this revision.
Herald added a project: LLVM.

Document the `-compilation-dir` option added in D100232 <https://reviews.llvm.org/D100232>.


Repository:
  rG LLVM Github Monorepo

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 either `-fcoverage-prefix-map` or
+ `-fcoverage-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 either `-fcoverage-prefix-map` or
+ `-fcoverage-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 either `-fcoverage-prefix-map` or
+ `-fcoverage-compilation-dir`.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105826.357968.patch
Type: text/x-patch
Size: 1435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210712/a1444dfb/attachment.bin>


More information about the llvm-commits mailing list