| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 1 | ; REQUIRES: object-emission |
| 2 | |
| Timur Iskhodzhanov | f166f6c | 2014-01-30 01:39:17 +0000 | [diff] [blame] | 3 | ; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 4 | ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s |
| 5 | ; CHECK: [[TYPE:.*]]: DW_TAG_structure_type |
| Manman Ren | 9b971f9 | 2013-10-10 18:13:17 +0000 | [diff] [blame] | 6 | ; Make sure we correctly handle containing type of a struct being a type identifier. |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 7 | ; CHECK-NEXT: DW_AT_containing_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE]]}) |
| Manman Ren | 9b971f9 | 2013-10-10 18:13:17 +0000 | [diff] [blame] | 8 | ; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "C") |
| Manman Ren | c50fa11 | 2013-10-10 18:40:01 +0000 | [diff] [blame] | 9 | |
| 10 | ; Make sure we correctly handle context of a subprogram being a type identifier. |
| Manman Ren | c4ae9b3 | 2013-09-07 00:04:05 +0000 | [diff] [blame] | 11 | ; CHECK: [[SP:.*]]: DW_TAG_subprogram |
| Manman Ren | c50fa11 | 2013-10-10 18:40:01 +0000 | [diff] [blame] | 12 | ; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "foo") |
| Manman Ren | 9b971f9 | 2013-10-10 18:13:17 +0000 | [diff] [blame] | 13 | ; Make sure we correctly handle containing type of a subprogram being a type identifier. |
| Manman Ren | c4ae9b3 | 2013-09-07 00:04:05 +0000 | [diff] [blame] | 14 | ; CHECK: DW_AT_containing_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE]]}) |
| Manman Ren | c50fa11 | 2013-10-10 18:40:01 +0000 | [diff] [blame] | 15 | ; CHECK: DW_TAG_formal_parameter |
| 16 | ; CHECK: NULL |
| 17 | ; CHECK: NULL |
| 18 | |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 19 | ; CHECK: [[TYPE2:.*]]: DW_TAG_structure_type |
| Manman Ren | 1848cb6 | 2013-10-11 18:50:00 +0000 | [diff] [blame] | 20 | ; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "bar") |
| Manman Ren | 5f99ec0 | 2013-10-08 23:49:38 +0000 | [diff] [blame] | 21 | ; CHECK: DW_TAG_structure_type |
| 22 | ; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "D") |
| 23 | ; CHECK: DW_TAG_member |
| 24 | ; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "a") |
| Manman Ren | 9b971f9 | 2013-10-10 18:13:17 +0000 | [diff] [blame] | 25 | ; Make sure we correctly handle context of a struct being a type identifier. |
| Manman Ren | ea57f67 | 2013-10-09 00:17:04 +0000 | [diff] [blame] | 26 | ; CHECK: DW_TAG_structure_type |
| 27 | ; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "Nested") |
| Manman Ren | b3dc3af | 2013-10-09 18:10:55 +0000 | [diff] [blame] | 28 | ; CHECK: DW_TAG_structure_type |
| 29 | ; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "Nested2") |
| 30 | ; CHECK-NEXT: DW_AT_declaration [DW_FORM_flag] (0x01) |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 31 | ; CHECK: DW_TAG_structure_type |
| 32 | ; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "virt<bar>") |
| Manman Ren | 9b971f9 | 2013-10-10 18:13:17 +0000 | [diff] [blame] | 33 | ; Make sure we correctly handle type of a template_type being a type identifier. |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 34 | ; CHECK: DW_TAG_template_type_parameter |
| 35 | ; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]}) |
| 36 | ; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "T") |
| Manman Ren | 9b971f9 | 2013-10-10 18:13:17 +0000 | [diff] [blame] | 37 | ; Make sure we correctly handle derived-from of a typedef being a type identifier. |
| Manman Ren | 5f99ec0 | 2013-10-08 23:49:38 +0000 | [diff] [blame] | 38 | ; CHECK: DW_TAG_typedef |
| 39 | ; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]}) |
| 40 | ; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "baz2") |
| Manman Ren | 9b971f9 | 2013-10-10 18:13:17 +0000 | [diff] [blame] | 41 | ; Make sure we correctly handle derived-from of a pointer type being a type identifier. |
| Manman Ren | 2f84f46 | 2013-10-08 20:06:43 +0000 | [diff] [blame] | 42 | ; CHECK: DW_TAG_pointer_type |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 43 | ; CHECK: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE]]}) |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 44 | ; CHECK: DW_TAG_typedef |
| 45 | ; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]}) |
| Manman Ren | 5f99ec0 | 2013-10-08 23:49:38 +0000 | [diff] [blame] | 46 | ; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "baz") |
| Manman Ren | 9b971f9 | 2013-10-10 18:13:17 +0000 | [diff] [blame] | 47 | ; Make sure we correctly handle derived-from of an array type being a type identifier. |
| Manman Ren | bacd1ef | 2013-10-08 23:28:51 +0000 | [diff] [blame] | 48 | ; CHECK: DW_TAG_array_type |
| 49 | ; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]}) |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 50 | ; IR generated from clang -g with the following source: |
| 51 | ; struct C { |
| 52 | ; virtual void foo(); |
| 53 | ; }; |
| 54 | ; void C::foo() { |
| 55 | ; } |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 56 | ; |
| 57 | ; struct bar { }; |
| 58 | ; typedef bar baz; |
| Manman Ren | 5f99ec0 | 2013-10-08 23:49:38 +0000 | [diff] [blame] | 59 | ; struct D { |
| 60 | ; typedef bar baz2; |
| 61 | ; static int a; |
| Manman Ren | ea57f67 | 2013-10-09 00:17:04 +0000 | [diff] [blame] | 62 | ; struct Nested { }; |
| Manman Ren | b3dc3af | 2013-10-09 18:10:55 +0000 | [diff] [blame] | 63 | ; struct Nested2 { }; |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 64 | ; template <typename T> |
| 65 | ; struct virt { |
| 66 | ; T* values; |
| 67 | ; }; |
| Manman Ren | 5f99ec0 | 2013-10-08 23:49:38 +0000 | [diff] [blame] | 68 | ; }; |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 69 | ; void test() { |
| 70 | ; baz B; |
| Manman Ren | bacd1ef | 2013-10-08 23:28:51 +0000 | [diff] [blame] | 71 | ; bar A[3]; |
| Manman Ren | 5f99ec0 | 2013-10-08 23:49:38 +0000 | [diff] [blame] | 72 | ; D::baz2 B2; |
| Manman Ren | ea57f67 | 2013-10-09 00:17:04 +0000 | [diff] [blame] | 73 | ; D::Nested e; |
| Manman Ren | b3dc3af | 2013-10-09 18:10:55 +0000 | [diff] [blame] | 74 | ; D::Nested2 *p; |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 75 | ; D::virt<bar> t; |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 76 | ; } |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 77 | |
| 78 | %struct.C = type { i32 (...)** } |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 79 | %struct.bar = type { i8 } |
| Manman Ren | ea57f67 | 2013-10-09 00:17:04 +0000 | [diff] [blame] | 80 | %"struct.D::Nested" = type { i8 } |
| Manman Ren | b3dc3af | 2013-10-09 18:10:55 +0000 | [diff] [blame] | 81 | %"struct.D::Nested2" = type { i8 } |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 82 | %"struct.D::virt" = type { %struct.bar* } |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 83 | |
| 84 | @_ZTV1C = unnamed_addr constant [3 x i8*] [i8* null, i8* bitcast ({ i8*, i8* }* @_ZTI1C to i8*), i8* bitcast (void (%struct.C*)* @_ZN1C3fooEv to i8*)] |
| 85 | @_ZTVN10__cxxabiv117__class_type_infoE = external global i8* |
| 86 | @_ZTS1C = constant [3 x i8] c"1C\00" |
| David Blaikie | f72d05b | 2015-03-13 18:20:45 +0000 | [diff] [blame] | 87 | @_ZTI1C = unnamed_addr constant { i8*, i8* } { i8* bitcast (i8** getelementptr inbounds (i8*, i8** @_ZTVN10__cxxabiv117__class_type_infoE, i64 2) to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @_ZTS1C, i32 0, i32 0) } |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 88 | |
| 89 | ; Function Attrs: nounwind ssp uwtable |
| Peter Collingbourne | d4bff30 | 2015-11-05 22:03:56 +0000 | [diff] [blame] | 90 | define void @_ZN1C3fooEv(%struct.C* %this) unnamed_addr #0 align 2 !dbg !31 { |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 91 | entry: |
| 92 | %this.addr = alloca %struct.C*, align 8 |
| 93 | store %struct.C* %this, %struct.C** %this.addr, align 8 |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 94 | call void @llvm.dbg.declare(metadata %struct.C** %this.addr, metadata !36, metadata !DIExpression()), !dbg !38 |
| David Blaikie | a79ac14 | 2015-02-27 21:17:42 +0000 | [diff] [blame] | 95 | %this1 = load %struct.C*, %struct.C** %this.addr |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 96 | ret void, !dbg !39 |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 97 | } |
| 98 | |
| 99 | ; Function Attrs: nounwind readnone |
| Adrian Prantl | 87b7eb9 | 2014-10-01 18:55:02 +0000 | [diff] [blame] | 100 | declare void @llvm.dbg.declare(metadata, metadata, metadata) #1 |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 101 | |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 102 | ; Function Attrs: nounwind ssp uwtable |
| Peter Collingbourne | d4bff30 | 2015-11-05 22:03:56 +0000 | [diff] [blame] | 103 | define void @_Z4testv() #0 !dbg !32 { |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 104 | entry: |
| 105 | %B = alloca %struct.bar, align 1 |
| Manman Ren | bacd1ef | 2013-10-08 23:28:51 +0000 | [diff] [blame] | 106 | %A = alloca [3 x %struct.bar], align 1 |
| Manman Ren | 5f99ec0 | 2013-10-08 23:49:38 +0000 | [diff] [blame] | 107 | %B2 = alloca %struct.bar, align 1 |
| Manman Ren | ea57f67 | 2013-10-09 00:17:04 +0000 | [diff] [blame] | 108 | %e = alloca %"struct.D::Nested", align 1 |
| Manman Ren | b3dc3af | 2013-10-09 18:10:55 +0000 | [diff] [blame] | 109 | %p = alloca %"struct.D::Nested2"*, align 8 |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 110 | %t = alloca %"struct.D::virt", align 8 |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 111 | call void @llvm.dbg.declare(metadata %struct.bar* %B, metadata !40, metadata !DIExpression()), !dbg !42 |
| 112 | call void @llvm.dbg.declare(metadata [3 x %struct.bar]* %A, metadata !43, metadata !DIExpression()), !dbg !47 |
| 113 | call void @llvm.dbg.declare(metadata %struct.bar* %B2, metadata !48, metadata !DIExpression()), !dbg !50 |
| 114 | call void @llvm.dbg.declare(metadata %"struct.D::Nested"* %e, metadata !51, metadata !DIExpression()), !dbg !52 |
| 115 | call void @llvm.dbg.declare(metadata %"struct.D::Nested2"** %p, metadata !53, metadata !DIExpression()), !dbg !55 |
| 116 | call void @llvm.dbg.declare(metadata %"struct.D::virt"* %t, metadata !56, metadata !DIExpression()), !dbg !57 |
| Manman Ren | 88b0f94 | 2013-10-09 19:46:28 +0000 | [diff] [blame] | 117 | ret void, !dbg !58 |
| Manman Ren | f69bd75 | 2013-10-08 22:56:31 +0000 | [diff] [blame] | 118 | } |
| 119 | |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 120 | attributes #0 = { nounwind ssp uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } |
| 121 | attributes #1 = { nounwind readnone } |
| 122 | |
| 123 | !llvm.dbg.cu = !{!0} |
| Manman Ren | 409558f | 2013-11-22 21:49:45 +0000 | [diff] [blame] | 124 | !llvm.module.flags = !{!35, !59} |
| Manman Ren | d8f798e | 2013-09-06 18:46:00 +0000 | [diff] [blame] | 125 | |
| Adrian Prantl | 75819ae | 2016-04-15 15:57:41 +0000 | [diff] [blame] | 126 | !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !3, globals: !2, imports: !2) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 127 | !1 = !DIFile(filename: "tmp.cpp", directory: ".") |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 128 | !2 = !{} |
| 129 | !3 = !{!4, !18, !19, !22, !23, !24} |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 130 | !4 = !DICompositeType(tag: DW_TAG_structure_type, name: "C", line: 1, file: !1, elements: !5, vtableHolder: !4, identifier: "_ZTS1C") |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 131 | !5 = !{!6, !13} |
| Keno Fischer | 81e2e9e | 2016-01-15 00:46:17 +0000 | [diff] [blame] | 132 | !6 = !DIDerivedType(tag: DW_TAG_member, name: "_vptr$C", flags: DIFlagArtificial, file: !1, scope: !7, baseType: !8) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 133 | !7 = !DIFile(filename: "tmp.cpp", directory: ".") |
| 134 | !8 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, baseType: !9) |
| 135 | !9 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "__vtbl_ptr_type", size: 64, baseType: !10) |
| 136 | !10 = !DISubroutineType(types: !11) |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 137 | !11 = !{!12} |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 138 | !12 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 139 | !13 = !DISubprogram(name: "foo", linkageName: "_ZN1C3fooEv", line: 2, isLocal: false, isDefinition: false, virtuality: DW_VIRTUALITY_virtual, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 2, file: !1, scope: !4, type: !14, containingType: !4) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 140 | !14 = !DISubroutineType(types: !15) |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 141 | !15 = !{null, !16} |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 142 | !16 = !DIDerivedType(tag: DW_TAG_pointer_type, flags: DIFlagArtificial | DIFlagObjectPointer, baseType: !4) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 143 | !18 = !DICompositeType(tag: DW_TAG_structure_type, name: "bar", line: 7, size: 8, align: 8, file: !1, elements: !2, identifier: "_ZTS3bar") |
| 144 | !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "D", line: 9, size: 8, align: 8, file: !1, elements: !20, identifier: "_ZTS1D") |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 145 | !20 = !{!21} |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 146 | !21 = !DIDerivedType(tag: DW_TAG_member, name: "a", line: 11, flags: DIFlagStaticMember, file: !1, scope: !19, baseType: !12) |
| 147 | !22 = !DICompositeType(tag: DW_TAG_structure_type, name: "Nested", line: 12, size: 8, align: 8, file: !1, scope: !19, elements: !2, identifier: "_ZTSN1D6NestedE") |
| 148 | !23 = !DICompositeType(tag: DW_TAG_structure_type, name: "Nested2", line: 13, flags: DIFlagFwdDecl, file: !1, scope: !19, identifier: "_ZTSN1D7Nested2E") |
| 149 | !24 = !DICompositeType(tag: DW_TAG_structure_type, name: "virt<bar>", line: 15, file: !1, scope: !19, elements: !25, templateParams: !28, identifier: "_ZTSN1D4virtI3barEE") |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 150 | !25 = !{!26} |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 151 | !26 = !DIDerivedType(tag: DW_TAG_member, name: "values", line: 16, size: 64, align: 64, file: !1, scope: !24, baseType: !27) |
| 152 | !27 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !18) |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 153 | !28 = !{!29} |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 154 | !29 = !DITemplateTypeParameter(name: "T", type: !18) |
| Adrian Prantl | 75819ae | 2016-04-15 15:57:41 +0000 | [diff] [blame] | 155 | !31 = distinct !DISubprogram(name: "foo", linkageName: "_ZN1C3fooEv", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 4, file: !1, scope: null, type: !14, declaration: !13, variables: !2) |
| 156 | !32 = distinct !DISubprogram(name: "test", linkageName: "_Z4testv", line: 20, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 20, file: !1, scope: !7, type: !33, variables: !2) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 157 | !33 = !DISubroutineType(types: !34) |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 158 | !34 = !{null} |
| 159 | !35 = !{i32 2, !"Dwarf Version", i32 2} |
| Duncan P. N. Exon Smith | ed013cd | 2015-07-31 18:58:39 +0000 | [diff] [blame] | 160 | !36 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !31, type: !37) |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 161 | !37 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !4) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 162 | !38 = !DILocation(line: 0, scope: !31) |
| 163 | !39 = !DILocation(line: 5, scope: !31) |
| Duncan P. N. Exon Smith | ed013cd | 2015-07-31 18:58:39 +0000 | [diff] [blame] | 164 | !40 = !DILocalVariable(name: "B", line: 21, scope: !32, file: !7, type: !41) |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 165 | !41 = !DIDerivedType(tag: DW_TAG_typedef, name: "baz", line: 8, file: !1, baseType: !18) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 166 | !42 = !DILocation(line: 21, scope: !32) |
| Duncan P. N. Exon Smith | ed013cd | 2015-07-31 18:58:39 +0000 | [diff] [blame] | 167 | !43 = !DILocalVariable(name: "A", line: 22, scope: !32, file: !7, type: !44) |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 168 | !44 = !DICompositeType(tag: DW_TAG_array_type, size: 24, align: 8, baseType: !18, elements: !45) |
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 169 | !45 = !{!46} |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 170 | !46 = !DISubrange(count: 3) |
| 171 | !47 = !DILocation(line: 22, scope: !32) |
| Duncan P. N. Exon Smith | ed013cd | 2015-07-31 18:58:39 +0000 | [diff] [blame] | 172 | !48 = !DILocalVariable(name: "B2", line: 23, scope: !32, file: !7, type: !49) |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 173 | !49 = !DIDerivedType(tag: DW_TAG_typedef, name: "baz2", line: 10, file: !1, scope: !19, baseType: !18) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 174 | !50 = !DILocation(line: 23, scope: !32) |
| Duncan P. N. Exon Smith | ed013cd | 2015-07-31 18:58:39 +0000 | [diff] [blame] | 175 | !51 = !DILocalVariable(name: "e", line: 24, scope: !32, file: !7, type: !22) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 176 | !52 = !DILocation(line: 24, scope: !32) |
| Duncan P. N. Exon Smith | ed013cd | 2015-07-31 18:58:39 +0000 | [diff] [blame] | 177 | !53 = !DILocalVariable(name: "p", line: 25, scope: !32, file: !7, type: !54) |
| Duncan P. N. Exon Smith | a59d3e5 | 2016-04-23 21:08:00 +0000 | [diff] [blame] | 178 | !54 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !23) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 179 | !55 = !DILocation(line: 25, scope: !32) |
| Duncan P. N. Exon Smith | ed013cd | 2015-07-31 18:58:39 +0000 | [diff] [blame] | 180 | !56 = !DILocalVariable(name: "t", line: 26, scope: !32, file: !7, type: !24) |
| Duncan P. N. Exon Smith | a9308c4 | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 181 | !57 = !DILocation(line: 26, scope: !32) |
| 182 | !58 = !DILocation(line: 27, scope: !32) |
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 183 | !59 = !{i32 1, !"Debug Info Version", i32 3} |