From f85171250983c1d44bf69fb648a9d78d33549b42 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 4 Aug 2014 20:32:48 +0000 Subject: [PATCH] Document the "emission kind" field of the DICompileUnit in LLVM's Source Level Debugging metadata. llvm-svn: 214771 --- llvm/docs/SourceLevelDebugging.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst index a47378ee65f4..3d54f08be9b9 100644 --- a/llvm/docs/SourceLevelDebugging.rst +++ b/llvm/docs/SourceLevelDebugging.rst @@ -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