diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst --- a/llvm/docs/CommandGuide/llvm-cov.rst +++ b/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= + + 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= 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= + + 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= + + 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`.