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

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 17:42:12 PDT 2016


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.
+
 .. code-block:: console
 
     # Step 2: Run the program.




More information about the cfe-commits mailing list