diff options
author | Bob Wilson <bob.wilson@apple.com> | 2015-04-21 16:32:02 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2015-04-21 16:32:02 +0000 |
commit | 98105884089a1069faabb7589d8ba495d6e565a6 (patch) | |
tree | 00fc3b3875cefad4f76e21ed33b4764908269062 /llvm/docs | |
parent | 327fda84d9f9f6b274eace15a72c78d8a310f53b (diff) | |
download | bcm5719-llvm-98105884089a1069faabb7589d8ba495d6e565a6.tar.gz bcm5719-llvm-98105884089a1069faabb7589d8ba495d6e565a6.zip |
Minor edits to the llvm-cov documentation.
This just changes a few places to use a slightly more formal style.
llvm-svn: 235389
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-cov.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/docs/CommandGuide/llvm-cov.rst b/llvm/docs/CommandGuide/llvm-cov.rst index dff337572e4..d0e78a9a1d1 100644 --- a/llvm/docs/CommandGuide/llvm-cov.rst +++ b/llvm/docs/CommandGuide/llvm-cov.rst @@ -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 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 ``clang`` use the ``-fprofile-instr-generate`` and ``-fcoverage-mapping`` flags. If linking with the ``clang`` driver, pass ``-fprofile-instr-generate`` @@ -223,10 +223,10 @@ OPTIONS .. option:: -arch=<name> - 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 - not found in the universal binary, or if used on a non-universal binary of - a different architecture. + 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. .. option:: -name=<NAME> @@ -291,7 +291,7 @@ OPTIONS .. option:: -arch=<name> - 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 - not found in the universal binary, or if used on a non-universal binary of - a different architecture. + 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. |