diff options
author | Vedant Kumar <vsk@apple.com> | 2016-03-28 22:16:01 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-03-28 22:16:01 +0000 |
commit | a74307227718e55f62c19f8cc48dc442ca71a97f (patch) | |
tree | 39eaafb92ff26a4455094d4b9d8ca1cdce2b85f0 /llvm/docs/CoverageMappingFormat.rst | |
parent | 9734583a92f283effb532869d6681394f0ba34df (diff) | |
download | bcm5719-llvm-a74307227718e55f62c19f8cc48dc442ca71a97f.tar.gz bcm5719-llvm-a74307227718e55f62c19f8cc48dc442ca71a97f.zip |
[docs] Corrections w.r.t V2 of the coverage mapping format
llvm-svn: 264679
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: |