From cbb70ce070d220642b038ea101d9c0f9fbf860d6 Mon Sep 17 00:00:00 2001
From: dim
!3 = metadata !{ - i32, ;; Tag = 13 + LLVMDebugVersion (DW_TAG_lexical_block) - metadata ;; Reference to context descriptor + i32, ;; Tag = 11 + LLVMDebugVersion (DW_TAG_lexical_block) + metadata,;; Reference to context descriptor + i32, ;; Line number + i32 ;; Column number }
These descriptors provide debug information about nested blocks within a - subprogram. The array of member descriptors is used to define local - variables and deeper nested blocks.
+ subprogram. The line number and column numbers are used to dinstinguish + two lexical blocks at same depth. @@ -539,9 +541,9 @@ DW_ATE_unsigned_char = 8 metadata, ;; Name (may be "" for anonymous types) metadata, ;; Reference to file where defined (may be NULL) i32, ;; Line number where defined (may be 0) - i32, ;; Size in bits - i32, ;; Alignment in bits - i32, ;; Offset in bits + i64, ;; Size in bits + i64, ;; Alignment in bits + i64, ;; Offset in bits metadata ;; Reference to type derived from } @@ -586,9 +588,8 @@ DW_TAG_restrict_type = 55 the bit offset if embedded in a composite type. -Note that the void * type is expressed as a - llvm.dbg.derivedtype.type with tag of DW_TAG_pointer_type - and NULL derived type.
+Note that the void * type is expressed as a type derived from NULL. +
@@ -687,7 +688,7 @@ DW_TAG_inheritance = 28-%llvm.dbg.subrange.type = type { +!42 = metadata !{ i32, ;; Tag = 33 + LLVMDebugVersion (DW_TAG_subrange_type) i64, ;; Low value i64 ;; High value @@ -789,15 +790,12 @@ DW_TAG_return_variable = 258@@ -813,10 +811,8 @@ DW_TAG_return_variable = 258- void %llvm.dbg.declare({}*, metadata) + void %llvm.dbg.declare(metadata, metadata)This intrinsic provides information about a local element (ex. variable.) The - first argument is the alloca for the variable, cast to a {}*. The - second argument is - the %llvm.dbg.variable containing - the description of the variable.
- + first argument is metadata holding alloca for the variable.. The + second argument is metadata containing description of the variable.This intrinsic provides information when a user source variable is set to a new value. The first argument is the new value (wrapped as metadata). The second argument is the offset in the user source variable where the new value - is written. The third argument is - the %llvm.dbg.variable containing - the description of the user source variable.
- + is written. The third argument is metadata containing description of the + user source variable.
-call void @llvm.dbg.declare({}* %0, metadata !0), !dbg !7 +call void @llvm.dbg.declare(metadata, metadata !0), !dbg !7
-call void @llvm.dbg.declare({}* %2, metadata !12), !dbg !14 +call void @llvm.dbg.declare(metadata, metadata !12), !dbg !14