瀏覽代碼

[docs] Coverage: Document the profile merge pool specifier

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272604 91177308-0d34-0410-b5e6-96231b3b80d8
Vedant Kumar 9 年之前
父節點
當前提交
ade89cd31c
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      docs/SourceBasedCodeCoverage.rst

+ 8 - 0
docs/SourceBasedCodeCoverage.rst

@@ -78,6 +78,14 @@ directory structure will be created.  Additionally, the following special
 
 
 * "%h" expands out to the hostname of the machine running the program.
 * "%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
 .. code-block:: console
 
 
     # Step 2: Run the program.
     # Step 2: Run the program.