From: Bob Wilson Date: Tue, 21 Apr 2015 16:32:02 +0000 (+0000) Subject: Minor edits to the llvm-cov documentation. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0aa62dd53af549aaa84452ddd979c97c822973e8;p=oota-llvm.git 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 --- diff --git a/docs/CommandGuide/llvm-cov.rst b/docs/CommandGuide/llvm-cov.rst index dff337572e4..d0e78a9a1d1 100644 --- a/docs/CommandGuide/llvm-cov.rst +++ b/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= - 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= @@ -291,7 +291,7 @@ OPTIONS .. option:: -arch= - 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.