summaryrefslogtreecommitdiffstats
path: root/llvm/docs
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
commit4b102c3d5c4f7232bf915a934eb3dbdd709fb471 (patch)
tree754ebd6023e7c29995f166250312b353d13c7ca8 /llvm/docs
parent52889219effe9cb3646b921a1dec74d4e139ee7d (diff)
downloadbcm5719-llvm-4b102c3d5c4f7232bf915a934eb3dbdd709fb471.tar.gz
bcm5719-llvm-4b102c3d5c4f7232bf915a934eb3dbdd709fb471.zip
[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 llvm-svn: 309747
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CommandGuide/llvm-cov.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst
index 47db8d04e0b..3732b39740f 100644
--- a/llvm/docs/CommandGuide/llvm-cov.rst
+++ b/llvm/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>
OpenPOWER on IntegriCloud