summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-cov.rst
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
commitfe4d904917fbeda1421e73cf746f26b047bb14f8 (patch)
tree25e833a0f16bd097347d182ae94ee09726b55b99 /llvm/docs/CommandGuide/llvm-cov.rst
parentb59ceb106864bf5a777e89413b6140a5a4fc89d0 (diff)
downloadbcm5719-llvm-fe4d904917fbeda1421e73cf746f26b047bb14f8.tar.gz
bcm5719-llvm-fe4d904917fbeda1421e73cf746f26b047bb14f8.zip
[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 llvm-svn: 320435
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-cov.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-cov.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst
index 6ee05ee1a0a..478ba0fb15e 100644
--- a/llvm/docs/CommandGuide/llvm-cov.rst
+++ b/llvm/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.
OpenPOWER on IntegriCloud