I think David got rid of that limitation.

The related warning in compiler-rt does not reflect this:

  PROF_WARN("%%m specifier can only be specified once at the end of %s.\n", 
...);

Fixed the warning in r272685.

thanks,
vedant

> On Jun 13, 2016, at 8:13 PM, Sean Silva <chisophu...@gmail.com> wrote:
> 
> 
> 
> On Mon, Jun 13, 2016 at 5:42 PM, Vedant Kumar via cfe-commits 
> <cfe-commits@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@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
> 

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to