summaryrefslogtreecommitdiffstats
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-08-01 21:23:26 +0000
committerVedant Kumar <vsk@apple.com>2017-08-01 21:23:26 +0000
commite72b881e28650cb295e04bfad448f203d58f27eb (patch)
tree2831a50d7e536afe17dccf098594857c8db516c0 /docs/CommandGuide
parente08253200c963067b39fb24e74ec748441922eb2 (diff)
[llvm-cov] Allow specifying distinct architectures for each loaded binary
The coverage tool needs to know which slice to look at when it's handed a universal binary. Some projects need to look at aggregate coverage reports for a variety of slices in different binaries: this patch adds support for these kinds of projects to llvm-cov. rdar://problem/33579007 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309747 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r--docs/CommandGuide/llvm-cov.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/CommandGuide/llvm-cov.rst b/docs/CommandGuide/llvm-cov.rst
index 47db8d04e0b2..3732b39740ff 100644
--- a/docs/CommandGuide/llvm-cov.rst
+++ b/docs/CommandGuide/llvm-cov.rst
@@ -222,12 +222,13 @@ OPTIONS
Enable or disable color output. By default this is autodetected.
-.. option:: -arch=<name>
+.. option:: -arch=[*NAMES*]
- If the covered binary is a universal binary, select the architecture to use.
- 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.
+ Specify a list of architectures such that the Nth entry in the list
+ corresponds to the Nth specified binary. If the covered object is a universal
+ binary, this specifies the architecture to use. 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:: -name=<NAME>