r272604 - [docs] Coverage: Document the profile merge pool specifier

Sean Silva via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 20:13:53 PDT 2016


On Mon, Jun 13, 2016 at 5:42 PM, Vedant Kumar via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: vedantk
> Date: Mon Jun 13 19:42:12 2016
> New Revision: 272604
>
> URL: http://llvm.org/viewvc/llvm-project?rev=272604&view=rev
> Log:
> [docs] Coverage: Document the profile merge pool specifier
>
> Modified:
>     cfe/trunk/docs/SourceBasedCodeCoverage.rst
>
> Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/SourceBasedCodeCoverage.rst?rev=272604&r1=272603&r2=272604&view=diff
>
> ==============================================================================
> --- cfe/trunk/docs/SourceBasedCodeCoverage.rst (original)
> +++ cfe/trunk/docs/SourceBasedCodeCoverage.rst Mon Jun 13 19:42:12 2016
> @@ -78,6 +78,14 @@ directory structure will be created.  Ad
>
>  * "%h" expands out to the hostname of the machine running the program.
>
> +* "%Nm" expands out to the instrumented binary's signature. When this
> pattern
> +  is specified, the runtime creates a pool of N raw profiles which are
> used for
> +  on-line profile merging. The runtime takes care of selecting a raw
> profile
> +  from the pool, locking it, and updating it before the program exits.
> If N is
> +  not specified (i.e the pattern is "%m"), it's assumed that ``N = 1``. N
> must
> +  be between 1 and 9. The merge pool specifier can only occur once per
> filename
> +  pattern.
>

There's also a limitation on the position IIRC (has to be at end).

-- Sean Silva


> +
>  .. code-block:: console
>
>      # Step 2: Run the program.
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160613/d55ff08d/attachment.html>


More information about the cfe-commits mailing list