[llvm] r256774 - Update documantation

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 4 12:00:48 PST 2016


Author: davidxl
Date: Mon Jan  4 14:00:47 2016
New Revision: 256774

URL: http://llvm.org/viewvc/llvm-project?rev=256774&view=rev
Log:
Update documantation

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=256774&r1=256773&r2=256774&view=diff
==============================================================================
--- llvm/trunk/docs/CoverageMappingFormat.rst (original)
+++ llvm/trunk/docs/CoverageMappingFormat.rst Mon Jan  4 14:00:47 2016
@@ -245,11 +245,15 @@ The coverage mapping variable generated
 
 .. code-block:: llvm
 
-  @__llvm_coverage_mapping = internal constant { i32, i32, i32, i32, [2 x { i8*, i32, i32 }], [40 x i8] }
-  { 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
+  @__llvm_coverage_mapping = internal constant { { i32, i32, i32, i32 }, [2 x { i8*, i32, i32 }], [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
+    },
     [2 x { i8*, i32, i32 }] [ ; Function records
      { i8*, i32, i32 } { i8* getelementptr inbounds ([3 x i8]* @__llvm_profile_name_foo, i32 0, i32 0), ; Function's name
        i32 3, ; Function's name length




More information about the llvm-commits mailing list