diff options
Diffstat (limited to 'llvm/docs/CoverageMappingFormat.rst')
-rw-r--r-- | llvm/docs/CoverageMappingFormat.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/CoverageMappingFormat.rst b/llvm/docs/CoverageMappingFormat.rst index 5e1b192898b..158255ab863 100644 --- a/llvm/docs/CoverageMappingFormat.rst +++ b/llvm/docs/CoverageMappingFormat.rst @@ -251,14 +251,14 @@ The coverage mapping variable generated by Clang has 3 fields: .. 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 following fields: * 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: |