summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMax Moroz <mmoroz@chromium.org>2017-12-11 23:17:46 +0000
committerMax Moroz <mmoroz@chromium.org>2017-12-11 23:17:46 +0000
commitd4b0ab066f3b1c819c2b740a9191e254da84b40c (patch)
tree74ccb10f13662a07833c8cb4c1cf00345d47aa0d /docs
parent9fb3467cfec0501169419bbd99394ac3463ee81e (diff)
[llvm-cov] Add an option for "export" command to emit only file summary data.
Summary: That allows to get the same data as produced by "llvm-cov report", but in JSON format, which is better for further processing by end users. Reviewers: vsk Reviewed By: vsk Differential Revision: https://reviews.llvm.org/D41085 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/CommandGuide/llvm-cov.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/CommandGuide/llvm-cov.rst b/docs/CommandGuide/llvm-cov.rst
index 6ee05ee1a0a..478ba0fb15e 100644
--- a/docs/CommandGuide/llvm-cov.rst
+++ b/docs/CommandGuide/llvm-cov.rst
@@ -382,3 +382,10 @@ OPTIONS
It is an error to specify an architecture that is not included in the
universal binary or to use an architecture that does not match a
non-universal binary.
+
+.. option:: -summary-only
+
+ Export only summary information for each file in the coverage data. This mode
+ will not export coverage information for smaller units such as individual
+ functions or regions. The result will be the same as produced by :program:
+ `llvm-cov report` command, but presented in JSON format rather than text.