From 94c7ddb6f52a5200983fed0ce74dc602a7737879 Mon Sep 17 00:00:00 2001
From: Devang Patel
Each input file is encoded as a separate file descriptor in LLVM debugging - information output. Each file descriptor would be defined using a - compile unit.
+ information output. @@ -485,7 +484,7 @@ global variables are collected by named metadata !llvm.dbg.gv. !4 = metadata !{ i32, ;; Tag = 36 + LLVMDebugVersion ;; (DW_TAG_base_type) - metadata, ;; Reference to context (typically a compile unit) + metadata, ;; Reference to context metadata, ;; Name (may be "" for anonymous types) metadata, ;; Reference to file where defined (may be NULL) i32, ;; Line number where defined (may be 0) @@ -500,7 +499,7 @@ global variables are collected by named metadata !llvm.dbg.gv.These descriptors define primitive types used in the code. Example int, bool and float. The context provides the scope of the type, which is usually the - top level. Since basic types are not usually user defined the compile unit + top level. Since basic types are not usually user defined the context and line number can be left as NULL and 0. The size, alignment and offset are expressed in bits and can be 64 bit values. The alignment is used to round the offset when embedded in a @@ -585,7 +584,7 @@ DW_TAG_restrict_type = 55 the derived type.
Derived type location can be determined - from the compile unit and line number. The size, alignment and offset are + from the context and line number. The size, alignment and offset are expressed in bits and can be 64 bit values. The alignment is used to round the offset when embedded in a composite type (example to keep float doubles on 64 bit boundaries.) The offset is @@ -675,7 +674,7 @@ DW_TAG_inheritance = 28 the formal arguments to the subroutine.
Composite type location can be - determined from the compile unit and line number. The size, alignment and + determined from the context and line number. The size, alignment and offset are expressed in bits and can be 64 bit values. The alignment is used to round the offset when embedded in a composite type (as an example, to keep @@ -774,7 +773,7 @@ DW_TAG_return_variable = 258 has no source correspondent.
The context is either the subprogram or block where the variable is defined. - Name the source variable name. Compile unit and line indicate where the + Name the source variable name. Context and line indicate where the variable was defined. Type descriptor defines the declared type of the variable.
-- cgit v1.2.3-70-g09d2