| Manman Ren | ed696c3 | 2013-07-24 22:23:00 +0000 | [diff] [blame] | 1 | ; RUN: llc -mtriple=x86_64-apple-macosx10.7 %s -o %t -filetype=obj | 
| Eli Bendersky | e6abe83 | 2013-01-25 21:44:53 +0000 | [diff] [blame] | 2 | ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 3 |  | 
|  | 4 | ; CHECK: b_ref | 
|  | 5 | ; CHECK-NOT: AT_bit_size | 
|  | 6 |  | 
|  | 7 | %struct.bar = type { %struct.baz, %struct.baz* } | 
|  | 8 | %struct.baz = type { i32 } | 
|  | 9 |  | 
|  | 10 | define i32 @main(i32 %argc, i8** %argv) uwtable ssp { | 
|  | 11 | entry: | 
|  | 12 | %retval = alloca i32, align 4 | 
|  | 13 | %argc.addr = alloca i32, align 4 | 
|  | 14 | %argv.addr = alloca i8**, align 8 | 
|  | 15 | %myBar = alloca %struct.bar, align 8 | 
|  | 16 | store i32 0, i32* %retval | 
|  | 17 | store i32 %argc, i32* %argc.addr, align 4 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 18 | call void @llvm.dbg.declare(metadata i32* %argc.addr, metadata !49, metadata !MDExpression()), !dbg !50 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 19 | store i8** %argv, i8*** %argv.addr, align 8 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 20 | call void @llvm.dbg.declare(metadata i8*** %argv.addr, metadata !51, metadata !MDExpression()), !dbg !52 | 
|  | 21 | call void @llvm.dbg.declare(metadata %struct.bar* %myBar, metadata !53, metadata !MDExpression()), !dbg !55 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 22 | call void @_ZN3barC1Ei(%struct.bar* %myBar, i32 1), !dbg !56 | 
|  | 23 | ret i32 0, !dbg !57 | 
|  | 24 | } | 
|  | 25 |  | 
| Adrian Prantl | 87b7eb9 | 2014-10-01 18:55:02 +0000 | [diff] [blame] | 26 | declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 27 |  | 
|  | 28 | define linkonce_odr void @_ZN3barC1Ei(%struct.bar* %this, i32 %x) unnamed_addr uwtable ssp align 2 { | 
|  | 29 | entry: | 
|  | 30 | %this.addr = alloca %struct.bar*, align 8 | 
|  | 31 | %x.addr = alloca i32, align 4 | 
|  | 32 | store %struct.bar* %this, %struct.bar** %this.addr, align 8 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 33 | call void @llvm.dbg.declare(metadata %struct.bar** %this.addr, metadata !58, metadata !MDExpression()), !dbg !59 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 34 | store i32 %x, i32* %x.addr, align 4 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 35 | call void @llvm.dbg.declare(metadata i32* %x.addr, metadata !60, metadata !MDExpression()), !dbg !61 | 
| David Blaikie | a79ac14 | 2015-02-27 21:17:42 +0000 | [diff] [blame] | 36 | %this1 = load %struct.bar*, %struct.bar** %this.addr | 
|  | 37 | %0 = load i32, i32* %x.addr, align 4, !dbg !62 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 38 | call void @_ZN3barC2Ei(%struct.bar* %this1, i32 %0), !dbg !62 | 
|  | 39 | ret void, !dbg !62 | 
|  | 40 | } | 
|  | 41 |  | 
|  | 42 | define linkonce_odr void @_ZN3barC2Ei(%struct.bar* %this, i32 %x) unnamed_addr uwtable ssp align 2 { | 
|  | 43 | entry: | 
|  | 44 | %this.addr = alloca %struct.bar*, align 8 | 
|  | 45 | %x.addr = alloca i32, align 4 | 
|  | 46 | store %struct.bar* %this, %struct.bar** %this.addr, align 8 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 47 | call void @llvm.dbg.declare(metadata %struct.bar** %this.addr, metadata !63, metadata !MDExpression()), !dbg !64 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 48 | store i32 %x, i32* %x.addr, align 4 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 49 | call void @llvm.dbg.declare(metadata i32* %x.addr, metadata !65, metadata !MDExpression()), !dbg !66 | 
| David Blaikie | a79ac14 | 2015-02-27 21:17:42 +0000 | [diff] [blame] | 50 | %this1 = load %struct.bar*, %struct.bar** %this.addr | 
| David Blaikie | 79e6c74 | 2015-02-27 19:29:02 +0000 | [diff] [blame] | 51 | %b = getelementptr inbounds %struct.bar, %struct.bar* %this1, i32 0, i32 0, !dbg !67 | 
| David Blaikie | a79ac14 | 2015-02-27 21:17:42 +0000 | [diff] [blame] | 52 | %0 = load i32, i32* %x.addr, align 4, !dbg !67 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 53 | call void @_ZN3bazC1Ei(%struct.baz* %b, i32 %0), !dbg !67 | 
| David Blaikie | 79e6c74 | 2015-02-27 19:29:02 +0000 | [diff] [blame] | 54 | %1 = getelementptr inbounds %struct.bar, %struct.bar* %this1, i32 0, i32 1, !dbg !67 | 
|  | 55 | %b2 = getelementptr inbounds %struct.bar, %struct.bar* %this1, i32 0, i32 0, !dbg !67 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 56 | store %struct.baz* %b2, %struct.baz** %1, align 8, !dbg !67 | 
|  | 57 | ret void, !dbg !68 | 
|  | 58 | } | 
|  | 59 |  | 
|  | 60 | define linkonce_odr void @_ZN3bazC1Ei(%struct.baz* %this, i32 %a) unnamed_addr uwtable ssp align 2 { | 
|  | 61 | entry: | 
|  | 62 | %this.addr = alloca %struct.baz*, align 8 | 
|  | 63 | %a.addr = alloca i32, align 4 | 
|  | 64 | store %struct.baz* %this, %struct.baz** %this.addr, align 8 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 65 | call void @llvm.dbg.declare(metadata %struct.baz** %this.addr, metadata !70, metadata !MDExpression()), !dbg !71 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 66 | store i32 %a, i32* %a.addr, align 4 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 67 | call void @llvm.dbg.declare(metadata i32* %a.addr, metadata !72, metadata !MDExpression()), !dbg !73 | 
| David Blaikie | a79ac14 | 2015-02-27 21:17:42 +0000 | [diff] [blame] | 68 | %this1 = load %struct.baz*, %struct.baz** %this.addr | 
|  | 69 | %0 = load i32, i32* %a.addr, align 4, !dbg !74 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 70 | call void @_ZN3bazC2Ei(%struct.baz* %this1, i32 %0), !dbg !74 | 
|  | 71 | ret void, !dbg !74 | 
|  | 72 | } | 
|  | 73 |  | 
|  | 74 | define linkonce_odr void @_ZN3bazC2Ei(%struct.baz* %this, i32 %a) unnamed_addr nounwind uwtable ssp align 2 { | 
|  | 75 | entry: | 
|  | 76 | %this.addr = alloca %struct.baz*, align 8 | 
|  | 77 | %a.addr = alloca i32, align 4 | 
|  | 78 | store %struct.baz* %this, %struct.baz** %this.addr, align 8 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 79 | call void @llvm.dbg.declare(metadata %struct.baz** %this.addr, metadata !75, metadata !MDExpression()), !dbg !76 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 80 | store i32 %a, i32* %a.addr, align 4 | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 81 | call void @llvm.dbg.declare(metadata i32* %a.addr, metadata !77, metadata !MDExpression()), !dbg !78 | 
| David Blaikie | a79ac14 | 2015-02-27 21:17:42 +0000 | [diff] [blame] | 82 | %this1 = load %struct.baz*, %struct.baz** %this.addr | 
| David Blaikie | 79e6c74 | 2015-02-27 19:29:02 +0000 | [diff] [blame] | 83 | %h = getelementptr inbounds %struct.baz, %struct.baz* %this1, i32 0, i32 0, !dbg !79 | 
| David Blaikie | a79ac14 | 2015-02-27 21:17:42 +0000 | [diff] [blame] | 84 | %0 = load i32, i32* %a.addr, align 4, !dbg !79 | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 85 | store i32 %0, i32* %h, align 4, !dbg !79 | 
|  | 86 | ret void, !dbg !80 | 
|  | 87 | } | 
|  | 88 |  | 
|  | 89 | !llvm.dbg.cu = !{!0} | 
| Manman Ren | 409558f | 2013-11-22 21:49:45 +0000 | [diff] [blame] | 90 | !llvm.module.flags = !{!83} | 
| Eric Christopher | 27886c6 | 2011-12-16 23:42:45 +0000 | [diff] [blame] | 91 |  | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 92 | !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.1 (trunk 146596)", isOptimized: false, emissionKind: 0, file: !82, enums: !1, retainedTypes: !3, subprograms: !27, globals: !1, imports:  !1) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 93 | !1 = !{} | 
|  | 94 | !3 = !{!5, !9} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 95 | !5 = !MDCompositeType(tag: DW_TAG_class_type, name: "bar", line: 9, size: 128, align: 64, file: !82, elements: !7) | 
|  | 96 | !6 = !MDFile(filename: "main.cpp", directory: "/Users/echristo/tmp/bad-struct-ref") | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 97 | !7 = !{!8, !19, !21} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 98 | !8 = !MDDerivedType(tag: DW_TAG_member, name: "b", line: 11, size: 32, align: 32, file: !82, scope: !5, baseType: !9) | 
|  | 99 | !9 = !MDCompositeType(tag: DW_TAG_class_type, name: "baz", line: 3, size: 32, align: 32, file: !82, elements: !10) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 100 | !10 = !{!11, !13} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 101 | !11 = !MDDerivedType(tag: DW_TAG_member, name: "h", line: 5, size: 32, align: 32, file: !82, scope: !9, baseType: !12) | 
|  | 102 | !12 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) | 
|  | 103 | !13 = !MDSubprogram(name: "baz", line: 6, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: !9, type: !14) | 
|  | 104 | !14 = !MDSubroutineType(types: !15) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 105 | !15 = !{null, !16, !12} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 106 | !16 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial, baseType: !9) | 
|  | 107 | !19 = !MDDerivedType(tag: DW_TAG_member, name: "b_ref", line: 12, size: 64, align: 64, offset: 64, file: !82, scope: !5, baseType: !20) | 
|  | 108 | !20 = !MDDerivedType(tag: DW_TAG_reference_type, baseType: !9) | 
|  | 109 | !21 = !MDSubprogram(name: "bar", line: 13, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: !5, type: !22) | 
|  | 110 | !22 = !MDSubroutineType(types: !23) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 111 | !23 = !{null, !24, !12} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 112 | !24 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial, baseType: !5) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 113 | !27 = !{!29, !37, !40, !43, !46} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 114 | !29 = !MDSubprogram(name: "main", line: 17, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: !6, type: !30, function: i32 (i32, i8**)* @main) | 
|  | 115 | !30 = !MDSubroutineType(types: !31) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 116 | !31 = !{!12, !12, !32} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 117 | !32 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !33) | 
|  | 118 | !33 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !34) | 
|  | 119 | !34 = !MDBasicType(tag: DW_TAG_base_type, name: "char", size: 8, align: 8, encoding: DW_ATE_signed_char) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 120 | !35 = !{!36} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 121 | !36 = !{} ; previously: invalid DW_TAG_base_type | 
|  | 122 | !37 = !MDSubprogram(name: "bar", linkageName: "_ZN3barC1Ei", line: 13, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: null, type: !22, function: void (%struct.bar*, i32)* @_ZN3barC1Ei, declaration: !21) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 123 | !38 = !{!39} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 124 | !39 = !{} ; previously: invalid DW_TAG_base_type | 
|  | 125 | !40 = !MDSubprogram(name: "bar", linkageName: "_ZN3barC2Ei", line: 13, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: null, type: !22, function: void (%struct.bar*, i32)* @_ZN3barC2Ei, declaration: !21) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 126 | !41 = !{!42} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 127 | !42 = !{} ; previously: invalid DW_TAG_base_type | 
|  | 128 | !43 = !MDSubprogram(name: "baz", linkageName: "_ZN3bazC1Ei", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: null, type: !14, function: void (%struct.baz*, i32)* @_ZN3bazC1Ei, declaration: !13) | 
| Duncan P. N. Exon Smith | be7ea19 | 2014-12-15 19:07:53 +0000 | [diff] [blame] | 129 | !44 = !{!45} | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 130 | !45 = !{} ; previously: invalid DW_TAG_base_type | 
|  | 131 | !46 = !MDSubprogram(name: "baz", linkageName: "_ZN3bazC2Ei", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, file: !82, scope: null, type: !14, function: void (%struct.baz*, i32)* @_ZN3bazC2Ei, declaration: !13) | 
|  | 132 | !49 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "argc", line: 16, arg: 1, scope: !29, file: !6, type: !12) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 133 | !50 = !MDLocation(line: 16, column: 14, scope: !29) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 134 | !51 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "argv", line: 16, arg: 2, scope: !29, file: !6, type: !32) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 135 | !52 = !MDLocation(line: 16, column: 27, scope: !29) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 136 | !53 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "myBar", line: 18, scope: !54, file: !6, type: !5) | 
|  | 137 | !54 = distinct !MDLexicalBlock(line: 17, column: 1, file: !82, scope: !29) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 138 | !55 = !MDLocation(line: 18, column: 9, scope: !54) | 
|  | 139 | !56 = !MDLocation(line: 18, column: 17, scope: !54) | 
|  | 140 | !57 = !MDLocation(line: 19, column: 5, scope: !54) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 141 | !58 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", line: 13, arg: 1, flags: DIFlagArtificial, scope: !37, file: !6, type: !24) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 142 | !59 = !MDLocation(line: 13, column: 5, scope: !37) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 143 | !60 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 13, arg: 2, scope: !37, file: !6, type: !12) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 144 | !61 = !MDLocation(line: 13, column: 13, scope: !37) | 
|  | 145 | !62 = !MDLocation(line: 13, column: 34, scope: !37) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 146 | !63 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", line: 13, arg: 1, flags: DIFlagArtificial, scope: !40, file: !6, type: !24) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 147 | !64 = !MDLocation(line: 13, column: 5, scope: !40) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 148 | !65 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "x", line: 13, arg: 2, scope: !40, file: !6, type: !12) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 149 | !66 = !MDLocation(line: 13, column: 13, scope: !40) | 
|  | 150 | !67 = !MDLocation(line: 13, column: 33, scope: !40) | 
|  | 151 | !68 = !MDLocation(line: 13, column: 34, scope: !69) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 152 | !69 = distinct !MDLexicalBlock(line: 13, column: 33, file: !82, scope: !40) | 
|  | 153 | !70 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", line: 6, arg: 1, flags: DIFlagArtificial, scope: !43, file: !6, type: !16) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 154 | !71 = !MDLocation(line: 6, column: 5, scope: !43) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 155 | !72 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 6, arg: 2, scope: !43, file: !6, type: !12) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 156 | !73 = !MDLocation(line: 6, column: 13, scope: !43) | 
|  | 157 | !74 = !MDLocation(line: 6, column: 24, scope: !43) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 158 | !75 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", line: 6, arg: 1, flags: DIFlagArtificial, scope: !46, file: !6, type: !16) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 159 | !76 = !MDLocation(line: 6, column: 5, scope: !46) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 160 | !77 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "a", line: 6, arg: 2, scope: !46, file: !6, type: !12) | 
| Duncan P. N. Exon Smith | 9885469 | 2015-01-14 22:27:36 +0000 | [diff] [blame] | 161 | !78 = !MDLocation(line: 6, column: 13, scope: !46) | 
|  | 162 | !79 = !MDLocation(line: 6, column: 23, scope: !46) | 
|  | 163 | !80 = !MDLocation(line: 6, column: 24, scope: !81) | 
| Duncan P. N. Exon Smith | e274180 | 2015-03-03 17:24:31 +0000 | [diff] [blame] | 164 | !81 = distinct !MDLexicalBlock(line: 6, column: 23, file: !82, scope: !46) | 
|  | 165 | !82 = !MDFile(filename: "main.cpp", directory: "/Users/echristo/tmp/bad-struct-ref") | 
|  | 166 | !83 = !{i32 1, !"Debug Info Version", i32 3} |