[llvm] r264679 - [docs] Corrections w.r.t V2 of the coverage mapping format
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 15:16:01 PDT 2016
Author: vedantk
Date: Mon Mar 28 17:16:01 2016
New Revision: 264679
URL: http://llvm.org/viewvc/llvm-project?rev=264679&view=rev
Log:
[docs] Corrections w.r.t V2 of the coverage mapping format
Modified:
llvm/trunk/docs/CoverageMappingFormat.rst
Modified: llvm/trunk/docs/CoverageMappingFormat.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CoverageMappingFormat.rst?rev=264679&r1=264678&r2=264679&view=diff
==============================================================================
--- llvm/trunk/docs/CoverageMappingFormat.rst (original)
+++ llvm/trunk/docs/CoverageMappingFormat.rst Mon Mar 28 17:16:01 2016
@@ -251,14 +251,14 @@ The coverage mapping variable generated
.. code-block:: llvm
- @__llvm_coverage_mapping = internal constant { { i32, i32, i32, i32 }, [2 x { i8*, i32, i32, i64 }], [40 x i8] }
+ @__llvm_coverage_mapping = internal constant { { i32, i32, i32, i32 }, [2 x { i64, i32, i64 }], [40 x i8] }
{
{ i32, i32, i32, i32 } ; Coverage map header
{
i32 2, ; The number of function records
i32 20, ; The length of the string that contains the encoded translation unit filenames
i32 20, ; The length of the string that contains the encoded coverage mapping data
- i32 0, ; Coverage mapping format version
+ i32 1, ; Coverage mapping format version
},
[2 x { i64, i32, i64 }] [ ; Function records
{ i64, i32, i64 } {
@@ -296,7 +296,7 @@ The coverage mapping header has the foll
* The length of the string in the third field of *__llvm_coverage_mapping* that contains the encoded coverage mapping data.
-* The format version. 0 is the first (current) version of the coverage mapping format.
+* The format version. The current version is 2 (encoded as a 1).
.. _function records:
More information about the llvm-commits
mailing list