Minor edits to the llvm-cov documentation.

This just changes a few places to use a slightly more formal style.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson
2015-04-21 16:32:02 +00:00
parent 4be4d30125
commit 0aa62dd53a

View File

@ -175,7 +175,7 @@ The :program:`llvm-cov show` command shows line by line coverage of a binary
*BIN* using the profile data *PROFILE*. It can optionally be filtered to only *BIN* using the profile data *PROFILE*. It can optionally be filtered to only
show the coverage for the files listed in *SOURCES*. show the coverage for the files listed in *SOURCES*.
To use :program:`llvm-cov show`, you need a program that's compiled with To use :program:`llvm-cov show`, you need a program that is compiled with
instrumentation to emit profile and coverage data. To build such a program with instrumentation to emit profile and coverage data. To build such a program with
``clang`` use the ``-fprofile-instr-generate`` and ``-fcoverage-mapping`` ``clang`` use the ``-fprofile-instr-generate`` and ``-fcoverage-mapping``
flags. If linking with the ``clang`` driver, pass ``-fprofile-instr-generate`` flags. If linking with the ``clang`` driver, pass ``-fprofile-instr-generate``
@ -223,10 +223,10 @@ OPTIONS
.. option:: -arch=<name> .. option:: -arch=<name>
If the covered binary is a universal binary, select the architecture to use If the covered binary is a universal binary, select the architecture to use.
when looking up the coverage map. Errors out if the supplied architecture is It is an error to specify an architecture that is not included in the
not found in the universal binary, or if used on a non-universal binary of universal binary or to use an architecture that does not match a
a different architecture. non-universal binary.
.. option:: -name=<NAME> .. option:: -name=<NAME>
@ -291,7 +291,7 @@ OPTIONS
.. option:: -arch=<name> .. option:: -arch=<name>
If the covered binary is a universal binary, select the architecture to use If the covered binary is a universal binary, select the architecture to use.
when looking up the coverage map. Errors out if the supplied architecture is It is an error to specify an architecture that is not included in the
not found in the universal binary, or if used on a non-universal binary of universal binary or to use an architecture that does not match a
a different architecture. non-universal binary.