[llvm] r214771 - Document the "emission kind" field of the DICompileUnit in LLVM's Source Level Debugging metadata.

David Blaikie dblaikie at gmail.com
Mon Aug 4 13:32:48 PDT 2014


Author: dblaikie
Date: Mon Aug  4 15:32:48 2014
New Revision: 214771

URL: http://llvm.org/viewvc/llvm-project?rev=214771&view=rev
Log:
Document the "emission kind" field of the DICompileUnit in LLVM's Source Level Debugging metadata.

Modified:
    llvm/trunk/docs/SourceLevelDebugging.rst

Modified: llvm/trunk/docs/SourceLevelDebugging.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/SourceLevelDebugging.rst?rev=214771&r1=214770&r2=214771&view=diff
==============================================================================
--- llvm/trunk/docs/SourceLevelDebugging.rst (original)
+++ llvm/trunk/docs/SourceLevelDebugging.rst Mon Aug  4 15:32:48 2014
@@ -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 fol
     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 fol
     metadata !3,                      ;; Global Variables
     metadata !1,                      ;; Imported entities
     "",                               ;; Split debug filename
+    1,                                ;; Full debug info
   } ; [ DW_TAG_compile_unit ]
 
   ;; The Array of Global Variables





More information about the llvm-commits mailing list