diff options
author | Max Moroz <mmoroz@chromium.org> | 2018-01-04 19:33:29 +0000 |
---|---|---|
committer | Max Moroz <mmoroz@chromium.org> | 2018-01-04 19:33:29 +0000 |
commit | 1ef3a778ac47564aa5a7f04bbf572d22d1c616fb (patch) | |
tree | b228056baa1272298a67b3db879ee593e3f72cb6 /llvm/docs/CommandGuide/llvm-cov.rst | |
parent | a47289a2ee77963de3e0dfafed0490ac3db449d2 (diff) | |
download | bcm5719-llvm-1ef3a778ac47564aa5a7f04bbf572d22d1c616fb.tar.gz bcm5719-llvm-1ef3a778ac47564aa5a7f04bbf572d22d1c616fb.zip |
[llvm-cov] Refactor "export" command implementation and add support for SOURCES.
Summary: Define an interface for Exporter + split JSON exporter into .h and .cpp.
Reviewers: vsk, morehouse
Reviewed By: vsk
Subscribers: llvm-commits, Dor1s, kcc
Differential Revision: https://reviews.llvm.org/D41600
llvm-svn: 321815
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-cov.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-cov.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst index 478ba0fb15e..85c8dde6496 100644 --- a/llvm/docs/CommandGuide/llvm-cov.rst +++ b/llvm/docs/CommandGuide/llvm-cov.rst @@ -361,14 +361,15 @@ EXPORT COMMAND SYNOPSIS ^^^^^^^^ -:program:`llvm-cov export` [*options*] -instr-profile *PROFILE* *BIN* [*-object BIN,...*] [[*-object BIN*]] +:program:`llvm-cov export` [*options*] -instr-profile *PROFILE* *BIN* [*-object BIN,...*] [[*-object BIN*]] [*SOURCES*] DESCRIPTION ^^^^^^^^^^^ The :program:`llvm-cov export` command exports regions, functions, expansions, and summaries of the coverage of the binaries *BIN*,... using the profile data -*PROFILE* as JSON. +*PROFILE* as JSON. It can optionally be filtered to only export the coverage +for the files listed in *SOURCES*. For information on compiling programs for coverage and generating profile data, see :ref:`llvm-cov-show`. |