<div dir="ltr">Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 14, 2016 at 10:30 AM, Vedant Kumar <span dir="ltr"><<a href="mailto:vsk@apple.com" target="_blank">vsk@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think David got rid of that limitation.<br>
<br>
The related warning in compiler-rt does not reflect this:<br>
<br>
PROF_WARN("%%m specifier can only be specified once at the end of %s.\n", ...);<br>
<br>
Fixed the warning in r272685.<br>
<br>
thanks,<br>
vedant<br>
<div class="HOEnZb"><div class="h5"><br>
> On Jun 13, 2016, at 8:13 PM, Sean Silva <<a href="mailto:chisophugis@gmail.com">chisophugis@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
> On Mon, Jun 13, 2016 at 5:42 PM, Vedant Kumar via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br>
> Author: vedantk<br>
> Date: Mon Jun 13 19:42:12 2016<br>
> New Revision: 272604<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=272604&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=272604&view=rev</a><br>
> Log:<br>
> [docs] Coverage: Document the profile merge pool specifier<br>
><br>
> Modified:<br>
> cfe/trunk/docs/SourceBasedCodeCoverage.rst<br>
><br>
> Modified: cfe/trunk/docs/SourceBasedCodeCoverage.rst<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/SourceBasedCodeCoverage.rst?rev=272604&r1=272603&r2=272604&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/SourceBasedCodeCoverage.rst?rev=272604&r1=272603&r2=272604&view=diff</a><br>
> ==============================================================================<br>
> --- cfe/trunk/docs/SourceBasedCodeCoverage.rst (original)<br>
> +++ cfe/trunk/docs/SourceBasedCodeCoverage.rst Mon Jun 13 19:42:12 2016<br>
> @@ -78,6 +78,14 @@ directory structure will be created. Ad<br>
><br>
> * "%h" expands out to the hostname of the machine running the program.<br>
><br>
> +* "%Nm" expands out to the instrumented binary's signature. When this pattern<br>
> + is specified, the runtime creates a pool of N raw profiles which are used for<br>
> + on-line profile merging. The runtime takes care of selecting a raw profile<br>
> + from the pool, locking it, and updating it before the program exits. If N is<br>
> + not specified (i.e the pattern is "%m"), it's assumed that ``N = 1``. N must<br>
> + be between 1 and 9. The merge pool specifier can only occur once per filename<br>
> + pattern.<br>
><br>
> There's also a limitation on the position IIRC (has to be at end).<br>
><br>
> -- Sean Silva<br>
><br>
> +<br>
> .. code-block:: console<br>
><br>
> # Step 2: Run the program.<br>
><br>
><br>
> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
><br>
<br>
</div></div></blockquote></div><br></div>