Document the "emission kind" field of the DICompileUnit in LLVM's Source Level Debugg...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 4 Aug 2014 20:32:48 +0000 (20:32 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 4 Aug 2014 20:32:48 +0000 (20:32 +0000)
llvm-svn: 214771

llvm/docs/SourceLevelDebugging.rst

index a47378e..3d54f08 100644 (file)
@@ -213,6 +213,7 @@ Compile unit descriptors
     metadata   ;; List of global variables
     metadata   ;; List of imported entities
     metadata   ;; Split debug filename
+    i32        ;; Debug info emission kind (0 = Line Tables Only, 1 = Full Debug Info)
   }
 
 These descriptors contain a source language ID for the file (we use the DWARF
@@ -855,6 +856,7 @@ a C/C++ front-end would generate the following descriptors:
     metadata !2,  ;; Global variables
     metadata !2,  ;; Imported entities (declarations and namespaces)
     metadata !""  ;; Split debug filename
+    1,            ;; Full debug info
   }
 
   ;;
@@ -937,6 +939,7 @@ a C/C++ front-end would generate the following descriptors:
     metadata !3,                      ;; Global Variables
     metadata !1,                      ;; Imported entities
     "",                               ;; Split debug filename
+    1,                                ;; Full debug info
   } ; [ DW_TAG_compile_unit ]
 
   ;; The Array of Global Variables