1*9880d681SAndroid Build Coastguard Worker; REQUIRES: object-emission 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-dump=info - | FileCheck %s 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker; This isn't a very pretty test case - I imagine there might be other ways to 6*9880d681SAndroid Build Coastguard Worker; tickle the optimizers into producing the desired code, but I haven't found 7*9880d681SAndroid Build Coastguard Worker; them. 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Worker; The issue is when a function is inlined into itself, the inlined argument 10*9880d681SAndroid Build Coastguard Worker; accidentally overwrote the concrete argument and was lost. 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker; IR generated from the following source compiled with clang -g: 13*9880d681SAndroid Build Coastguard Worker; void fn1(void *); 14*9880d681SAndroid Build Coastguard Worker; void fn2(int, int, int, int); 15*9880d681SAndroid Build Coastguard Worker; void fn3(); 16*9880d681SAndroid Build Coastguard Worker; void fn8(); 17*9880d681SAndroid Build Coastguard Worker; struct C { 18*9880d681SAndroid Build Coastguard Worker; int b; 19*9880d681SAndroid Build Coastguard Worker; void m_fn2() { 20*9880d681SAndroid Build Coastguard Worker; fn8(); 21*9880d681SAndroid Build Coastguard Worker; if (b) fn2(0, 0, 0, 0); 22*9880d681SAndroid Build Coastguard Worker; fn3(); 23*9880d681SAndroid Build Coastguard Worker; } 24*9880d681SAndroid Build Coastguard Worker; }; 25*9880d681SAndroid Build Coastguard Worker; C *x; 26*9880d681SAndroid Build Coastguard Worker; inline void fn7() {} 27*9880d681SAndroid Build Coastguard Worker; void fn6() { 28*9880d681SAndroid Build Coastguard Worker; fn8(); 29*9880d681SAndroid Build Coastguard Worker; x->m_fn2(); 30*9880d681SAndroid Build Coastguard Worker; fn7(); 31*9880d681SAndroid Build Coastguard Worker; } 32*9880d681SAndroid Build Coastguard Worker; void fn3() { fn6(); } 33*9880d681SAndroid Build Coastguard Worker; void fn4() { x->m_fn2(); } 34*9880d681SAndroid Build Coastguard Worker; void fn5() { x->m_fn2(); } 35*9880d681SAndroid Build Coastguard Worker 36*9880d681SAndroid Build Coastguard Worker; The definition of C and declaration of C::m_fn2 37*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_structure_type 38*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 39*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_member 40*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 41*9880d681SAndroid Build Coastguard Worker; CHECK: [[M_FN2_DECL:.*]]: DW_TAG_subprogram 42*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: DW_TAG 43*9880d681SAndroid Build Coastguard Worker; CHECK: DW_AT_name {{.*}} "m_fn2" 44*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 45*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_formal_parameter 46*9880d681SAndroid Build Coastguard Worker 47*9880d681SAndroid Build Coastguard Worker; The abstract definition of C::m_fn2 48*9880d681SAndroid Build Coastguard Worker; CHECK: [[M_FN2_ABS_DEF:.*]]: DW_TAG_subprogram 49*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: DW_TAG 50*9880d681SAndroid Build Coastguard Worker; CHECK: DW_AT_specification {{.*}} {[[M_FN2_DECL]]} 51*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: DW_TAG 52*9880d681SAndroid Build Coastguard Worker; CHECK: DW_AT_inline 53*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 54*9880d681SAndroid Build Coastguard Worker; CHECK: [[M_FN2_THIS_ABS_DEF:.*]]: DW_TAG_formal_parameter 55*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: DW_TAG 56*9880d681SAndroid Build Coastguard Worker; CHECK: DW_AT_name {{.*}} "this" 57*9880d681SAndroid Build Coastguard Worker 58*9880d681SAndroid Build Coastguard Worker; Skip some other functions 59*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_subprogram 60*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_subprogram 61*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_subprogram 62*9880d681SAndroid Build Coastguard Worker 63*9880d681SAndroid Build Coastguard Worker; The concrete definition of C::m_fn2 64*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_subprogram 65*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: DW_TAG 66*9880d681SAndroid Build Coastguard Worker; CHECK: DW_AT_abstract_origin {{.*}} {[[M_FN2_ABS_DEF]]} 67*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 68*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_formal_parameter 69*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: DW_TAG 70*9880d681SAndroid Build Coastguard Worker; CHECK: DW_AT_abstract_origin {{.*}} {[[M_FN2_THIS_ABS_DEF]]} 71*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 72*9880d681SAndroid Build Coastguard Worker; Inlined fn3: 73*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_inlined_subroutine 74*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 75*9880d681SAndroid Build Coastguard Worker; Inlined fn6: 76*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_inlined_subroutine 77*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 78*9880d681SAndroid Build Coastguard Worker; Inlined C::m_fn2: 79*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_inlined_subroutine 80*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: DW_TAG 81*9880d681SAndroid Build Coastguard Worker; CHECK: DW_AT_abstract_origin {{.*}} {[[M_FN2_ABS_DEF]]} 82*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: {{DW_TAG|NULL}} 83*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_formal_parameter 84*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: DW_TAG 85*9880d681SAndroid Build Coastguard Worker; CHECK: DW_AT_abstract_origin {{.*}} {[[M_FN2_THIS_ABS_DEF]]} 86*9880d681SAndroid Build Coastguard Worker 87*9880d681SAndroid Build Coastguard Worker 88*9880d681SAndroid Build Coastguard Worker 89*9880d681SAndroid Build Coastguard Worker%struct.C = type { i32 } 90*9880d681SAndroid Build Coastguard Worker 91*9880d681SAndroid Build Coastguard Worker@x = global %struct.C* null, align 8 92*9880d681SAndroid Build Coastguard Worker 93*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind 94*9880d681SAndroid Build Coastguard Workerdefine void @_Z3fn6v() #0 !dbg !14 { 95*9880d681SAndroid Build Coastguard Workerentry: 96*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn8v() #3, !dbg !31 97*9880d681SAndroid Build Coastguard Worker %0 = load %struct.C*, %struct.C** @x, align 8, !dbg !32, !tbaa !33 98*9880d681SAndroid Build Coastguard Worker tail call void @llvm.dbg.value(metadata %struct.C* %0, i64 0, metadata !37, metadata !DIExpression()) #3, !dbg !38 99*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn8v() #3, !dbg !39 100*9880d681SAndroid Build Coastguard Worker %b.i = getelementptr inbounds %struct.C, %struct.C* %0, i64 0, i32 0, !dbg !40 101*9880d681SAndroid Build Coastguard Worker %1 = load i32, i32* %b.i, align 4, !dbg !40, !tbaa !42 102*9880d681SAndroid Build Coastguard Worker %tobool.i = icmp eq i32 %1, 0, !dbg !40 103*9880d681SAndroid Build Coastguard Worker br i1 %tobool.i, label %_ZN1C5m_fn2Ev.exit, label %if.then.i, !dbg !40 104*9880d681SAndroid Build Coastguard Worker 105*9880d681SAndroid Build Coastguard Workerif.then.i: ; preds = %entry 106*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn2iiii(i32 0, i32 0, i32 0, i32 0) #3, !dbg !45 107*9880d681SAndroid Build Coastguard Worker br label %_ZN1C5m_fn2Ev.exit, !dbg !45 108*9880d681SAndroid Build Coastguard Worker 109*9880d681SAndroid Build Coastguard Worker_ZN1C5m_fn2Ev.exit: ; preds = %entry, %if.then.i 110*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn3v() #3, !dbg !47 111*9880d681SAndroid Build Coastguard Worker ret void, !dbg !48 112*9880d681SAndroid Build Coastguard Worker} 113*9880d681SAndroid Build Coastguard Worker 114*9880d681SAndroid Build Coastguard Workerdeclare void @_Z3fn8v() #1 115*9880d681SAndroid Build Coastguard Worker 116*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind 117*9880d681SAndroid Build Coastguard Workerdefine linkonce_odr void @_ZN1C5m_fn2Ev(%struct.C* nocapture readonly %this) #0 align 2 !dbg !22 { 118*9880d681SAndroid Build Coastguard Workerentry: 119*9880d681SAndroid Build Coastguard Worker tail call void @llvm.dbg.value(metadata %struct.C* %this, i64 0, metadata !24, metadata !DIExpression()), !dbg !49 120*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn8v() #3, !dbg !50 121*9880d681SAndroid Build Coastguard Worker %b = getelementptr inbounds %struct.C, %struct.C* %this, i64 0, i32 0, !dbg !51 122*9880d681SAndroid Build Coastguard Worker %0 = load i32, i32* %b, align 4, !dbg !51, !tbaa !42 123*9880d681SAndroid Build Coastguard Worker %tobool = icmp eq i32 %0, 0, !dbg !51 124*9880d681SAndroid Build Coastguard Worker br i1 %tobool, label %if.end, label %if.then, !dbg !51 125*9880d681SAndroid Build Coastguard Worker 126*9880d681SAndroid Build Coastguard Workerif.then: ; preds = %entry 127*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn2iiii(i32 0, i32 0, i32 0, i32 0) #3, !dbg !52 128*9880d681SAndroid Build Coastguard Worker br label %if.end, !dbg !52 129*9880d681SAndroid Build Coastguard Worker 130*9880d681SAndroid Build Coastguard Workerif.end: ; preds = %entry, %if.then 131*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn8v() #3, !dbg !53 132*9880d681SAndroid Build Coastguard Worker %1 = load %struct.C*, %struct.C** @x, align 8, !dbg !56, !tbaa !33 133*9880d681SAndroid Build Coastguard Worker tail call void @llvm.dbg.value(metadata %struct.C* %1, i64 0, metadata !57, metadata !DIExpression()) #3, !dbg !58 134*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn8v() #3, !dbg !59 135*9880d681SAndroid Build Coastguard Worker %b.i.i = getelementptr inbounds %struct.C, %struct.C* %1, i64 0, i32 0, !dbg !60 136*9880d681SAndroid Build Coastguard Worker %2 = load i32, i32* %b.i.i, align 4, !dbg !60, !tbaa !42 137*9880d681SAndroid Build Coastguard Worker %tobool.i.i = icmp eq i32 %2, 0, !dbg !60 138*9880d681SAndroid Build Coastguard Worker br i1 %tobool.i.i, label %_Z3fn6v.exit, label %if.then.i.i, !dbg !60 139*9880d681SAndroid Build Coastguard Worker 140*9880d681SAndroid Build Coastguard Workerif.then.i.i: ; preds = %if.end 141*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn2iiii(i32 0, i32 0, i32 0, i32 0) #3, !dbg !61 142*9880d681SAndroid Build Coastguard Worker br label %_Z3fn6v.exit, !dbg !61 143*9880d681SAndroid Build Coastguard Worker 144*9880d681SAndroid Build Coastguard Worker_Z3fn6v.exit: ; preds = %if.end, %if.then.i.i 145*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn3v() #3, !dbg !62 146*9880d681SAndroid Build Coastguard Worker ret void, !dbg !63 147*9880d681SAndroid Build Coastguard Worker} 148*9880d681SAndroid Build Coastguard Worker 149*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind 150*9880d681SAndroid Build Coastguard Workerdefine void @_Z3fn3v() #0 !dbg !18 { 151*9880d681SAndroid Build Coastguard Workerentry: 152*9880d681SAndroid Build Coastguard Worker br label %tailrecurse 153*9880d681SAndroid Build Coastguard Worker 154*9880d681SAndroid Build Coastguard Workertailrecurse: ; preds = %tailrecurse.backedge, %entry 155*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn8v() #3, !dbg !64 156*9880d681SAndroid Build Coastguard Worker %0 = load %struct.C*, %struct.C** @x, align 8, !dbg !66, !tbaa !33 157*9880d681SAndroid Build Coastguard Worker tail call void @llvm.dbg.value(metadata %struct.C* %0, i64 0, metadata !67, metadata !DIExpression()) #3, !dbg !68 158*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn8v() #3, !dbg !69 159*9880d681SAndroid Build Coastguard Worker %b.i.i = getelementptr inbounds %struct.C, %struct.C* %0, i64 0, i32 0, !dbg !70 160*9880d681SAndroid Build Coastguard Worker %1 = load i32, i32* %b.i.i, align 4, !dbg !70, !tbaa !42 161*9880d681SAndroid Build Coastguard Worker %tobool.i.i = icmp eq i32 %1, 0, !dbg !70 162*9880d681SAndroid Build Coastguard Worker br i1 %tobool.i.i, label %tailrecurse.backedge, label %if.then.i.i, !dbg !70 163*9880d681SAndroid Build Coastguard Worker 164*9880d681SAndroid Build Coastguard Workertailrecurse.backedge: ; preds = %tailrecurse, %if.then.i.i 165*9880d681SAndroid Build Coastguard Worker br label %tailrecurse 166*9880d681SAndroid Build Coastguard Worker 167*9880d681SAndroid Build Coastguard Workerif.then.i.i: ; preds = %tailrecurse 168*9880d681SAndroid Build Coastguard Worker tail call void @_Z3fn2iiii(i32 0, i32 0, i32 0, i32 0) #3, !dbg !71 169*9880d681SAndroid Build Coastguard Worker br label %tailrecurse.backedge, !dbg !71 170*9880d681SAndroid Build Coastguard Worker} 171*9880d681SAndroid Build Coastguard Worker 172*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind 173*9880d681SAndroid Build Coastguard Workerdefine void @_Z3fn4v() #0 !dbg !19 { 174*9880d681SAndroid Build Coastguard Workerentry: 175*9880d681SAndroid Build Coastguard Worker %0 = load %struct.C*, %struct.C** @x, align 8, !dbg !72, !tbaa !33 176*9880d681SAndroid Build Coastguard Worker tail call void @_ZN1C5m_fn2Ev(%struct.C* %0), !dbg !72 177*9880d681SAndroid Build Coastguard Worker ret void, !dbg !72 178*9880d681SAndroid Build Coastguard Worker} 179*9880d681SAndroid Build Coastguard Worker 180*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind 181*9880d681SAndroid Build Coastguard Workerdefine void @_Z3fn5v() #0 !dbg !20 { 182*9880d681SAndroid Build Coastguard Workerentry: 183*9880d681SAndroid Build Coastguard Worker %0 = load %struct.C*, %struct.C** @x, align 8, !dbg !73, !tbaa !33 184*9880d681SAndroid Build Coastguard Worker tail call void @_ZN1C5m_fn2Ev(%struct.C* %0), !dbg !73 185*9880d681SAndroid Build Coastguard Worker ret void, !dbg !73 186*9880d681SAndroid Build Coastguard Worker} 187*9880d681SAndroid Build Coastguard Worker 188*9880d681SAndroid Build Coastguard Workerdeclare void @_Z3fn2iiii(i32, i32, i32, i32) #1 189*9880d681SAndroid Build Coastguard Worker 190*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind readnone 191*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.dbg.value(metadata, i64, metadata, metadata) #2 192*9880d681SAndroid Build Coastguard Worker 193*9880d681SAndroid Build Coastguard Workerattributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-realign-stack" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } 194*9880d681SAndroid Build Coastguard Workerattributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-realign-stack" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } 195*9880d681SAndroid Build Coastguard Workerattributes #2 = { nounwind readnone } 196*9880d681SAndroid Build Coastguard Workerattributes #3 = { nounwind } 197*9880d681SAndroid Build Coastguard Worker 198*9880d681SAndroid Build Coastguard Worker!llvm.dbg.cu = !{!0} 199*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!28, !29} 200*9880d681SAndroid Build Coastguard Worker!llvm.ident = !{!30} 201*9880d681SAndroid Build Coastguard Worker 202*9880d681SAndroid Build Coastguard Worker!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: true, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !3, globals: !26, imports: !2) 203*9880d681SAndroid Build Coastguard Worker!1 = !DIFile(filename: "<stdin>", directory: "/usr/local/google/home/blaikie/dev/scratch/missing_concrete_variable_on_darwin/reduce") 204*9880d681SAndroid Build Coastguard Worker!2 = !{} 205*9880d681SAndroid Build Coastguard Worker!3 = !{!4} 206*9880d681SAndroid Build Coastguard Worker!4 = !DICompositeType(tag: DW_TAG_structure_type, name: "C", line: 5, size: 32, align: 32, file: !5, elements: !6, identifier: "_ZTS1C") 207*9880d681SAndroid Build Coastguard Worker!5 = !DIFile(filename: "recursive_inlining.cpp", directory: "/usr/local/google/home/blaikie/dev/scratch/missing_concrete_variable_on_darwin/reduce") 208*9880d681SAndroid Build Coastguard Worker!6 = !{!7, !9} 209*9880d681SAndroid Build Coastguard Worker!7 = !DIDerivedType(tag: DW_TAG_member, name: "b", line: 6, size: 32, align: 32, file: !5, scope: !4, baseType: !8) 210*9880d681SAndroid Build Coastguard Worker!8 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) 211*9880d681SAndroid Build Coastguard Worker!9 = !DISubprogram(name: "m_fn2", linkageName: "_ZN1C5m_fn2Ev", line: 7, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 7, file: !5, scope: !4, type: !10) 212*9880d681SAndroid Build Coastguard Worker!10 = !DISubroutineType(types: !11) 213*9880d681SAndroid Build Coastguard Worker!11 = !{null, !12} 214*9880d681SAndroid Build Coastguard Worker!12 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer, baseType: !4) 215*9880d681SAndroid Build Coastguard Worker!14 = distinct !DISubprogram(name: "fn6", linkageName: "_Z3fn6v", line: 15, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 15, file: !5, scope: !15, type: !16, variables: !2) 216*9880d681SAndroid Build Coastguard Worker!15 = !DIFile(filename: "recursive_inlining.cpp", directory: "/usr/local/google/home/blaikie/dev/scratch/missing_concrete_variable_on_darwin/reduce") 217*9880d681SAndroid Build Coastguard Worker!16 = !DISubroutineType(types: !17) 218*9880d681SAndroid Build Coastguard Worker!17 = !{null} 219*9880d681SAndroid Build Coastguard Worker!18 = distinct !DISubprogram(name: "fn3", linkageName: "_Z3fn3v", line: 20, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 20, file: !5, scope: !15, type: !16, variables: !2) 220*9880d681SAndroid Build Coastguard Worker!19 = distinct !DISubprogram(name: "fn4", linkageName: "_Z3fn4v", line: 21, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 21, file: !5, scope: !15, type: !16, variables: !2) 221*9880d681SAndroid Build Coastguard Worker!20 = distinct !DISubprogram(name: "fn5", linkageName: "_Z3fn5v", line: 22, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 22, file: !5, scope: !15, type: !16, variables: !2) 222*9880d681SAndroid Build Coastguard Worker!21 = distinct !DISubprogram(name: "fn7", linkageName: "_Z3fn7v", line: 14, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 14, file: !5, scope: !15, type: !16, variables: !2) 223*9880d681SAndroid Build Coastguard Worker!22 = distinct !DISubprogram(name: "m_fn2", linkageName: "_ZN1C5m_fn2Ev", line: 7, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 7, file: !5, scope: !4, type: !10, declaration: !9, variables: !23) 224*9880d681SAndroid Build Coastguard Worker!23 = !{!24} 225*9880d681SAndroid Build Coastguard Worker!24 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !22, type: !25) 226*9880d681SAndroid Build Coastguard Worker!25 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !4) 227*9880d681SAndroid Build Coastguard Worker!26 = !{!27} 228*9880d681SAndroid Build Coastguard Worker!27 = !DIGlobalVariable(name: "x", line: 13, isLocal: false, isDefinition: true, scope: null, file: !15, type: !25, variable: %struct.C** @x) 229*9880d681SAndroid Build Coastguard Worker!28 = !{i32 2, !"Dwarf Version", i32 4} 230*9880d681SAndroid Build Coastguard Worker!29 = !{i32 2, !"Debug Info Version", i32 3} 231*9880d681SAndroid Build Coastguard Worker!30 = !{!"clang version 3.6.0 "} 232*9880d681SAndroid Build Coastguard Worker!31 = !DILocation(line: 16, scope: !14) 233*9880d681SAndroid Build Coastguard Worker!32 = !DILocation(line: 17, scope: !14) 234*9880d681SAndroid Build Coastguard Worker!33 = !{!34, !34, i64 0} 235*9880d681SAndroid Build Coastguard Worker!34 = !{!"any pointer", !35, i64 0} 236*9880d681SAndroid Build Coastguard Worker!35 = !{!"omnipotent char", !36, i64 0} 237*9880d681SAndroid Build Coastguard Worker!36 = !{!"Simple C/C++ TBAA"} 238*9880d681SAndroid Build Coastguard Worker!37 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !22, type: !25) 239*9880d681SAndroid Build Coastguard Worker!38 = !DILocation(line: 0, scope: !22, inlinedAt: !32) 240*9880d681SAndroid Build Coastguard Worker!39 = !DILocation(line: 8, scope: !22, inlinedAt: !32) 241*9880d681SAndroid Build Coastguard Worker!40 = !DILocation(line: 9, scope: !41, inlinedAt: !32) 242*9880d681SAndroid Build Coastguard Worker!41 = distinct !DILexicalBlock(line: 9, column: 0, file: !5, scope: !22) 243*9880d681SAndroid Build Coastguard Worker!42 = !{!43, !44, i64 0} 244*9880d681SAndroid Build Coastguard Worker!43 = !{!4, !44, i64 0} 245*9880d681SAndroid Build Coastguard Worker!44 = !{!"int", !35, i64 0} 246*9880d681SAndroid Build Coastguard Worker!45 = !DILocation(line: 9, scope: !46, inlinedAt: !32) 247*9880d681SAndroid Build Coastguard Worker!46 = distinct !DILexicalBlock(line: 9, column: 0, file: !5, scope: !41) 248*9880d681SAndroid Build Coastguard Worker!47 = !DILocation(line: 10, scope: !22, inlinedAt: !32) 249*9880d681SAndroid Build Coastguard Worker!48 = !DILocation(line: 19, scope: !14) 250*9880d681SAndroid Build Coastguard Worker!49 = !DILocation(line: 0, scope: !22) 251*9880d681SAndroid Build Coastguard Worker!50 = !DILocation(line: 8, scope: !22) 252*9880d681SAndroid Build Coastguard Worker!51 = !DILocation(line: 9, scope: !41) 253*9880d681SAndroid Build Coastguard Worker!52 = !DILocation(line: 9, scope: !46) 254*9880d681SAndroid Build Coastguard Worker!53 = !DILocation(line: 16, scope: !14, inlinedAt: !54) 255*9880d681SAndroid Build Coastguard Worker!54 = !DILocation(line: 20, scope: !18, inlinedAt: !55) 256*9880d681SAndroid Build Coastguard Worker!55 = !DILocation(line: 10, scope: !22) 257*9880d681SAndroid Build Coastguard Worker!56 = !DILocation(line: 17, scope: !14, inlinedAt: !54) 258*9880d681SAndroid Build Coastguard Worker!57 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !22, type: !25) 259*9880d681SAndroid Build Coastguard Worker!58 = !DILocation(line: 0, scope: !22, inlinedAt: !56) 260*9880d681SAndroid Build Coastguard Worker!59 = !DILocation(line: 8, scope: !22, inlinedAt: !56) 261*9880d681SAndroid Build Coastguard Worker!60 = !DILocation(line: 9, scope: !41, inlinedAt: !56) 262*9880d681SAndroid Build Coastguard Worker!61 = !DILocation(line: 9, scope: !46, inlinedAt: !56) 263*9880d681SAndroid Build Coastguard Worker!62 = !DILocation(line: 10, scope: !22, inlinedAt: !56) 264*9880d681SAndroid Build Coastguard Worker!63 = !DILocation(line: 11, scope: !22) 265*9880d681SAndroid Build Coastguard Worker!64 = !DILocation(line: 16, scope: !14, inlinedAt: !65) 266*9880d681SAndroid Build Coastguard Worker!65 = !DILocation(line: 20, scope: !18) 267*9880d681SAndroid Build Coastguard Worker!66 = !DILocation(line: 17, scope: !14, inlinedAt: !65) 268*9880d681SAndroid Build Coastguard Worker!67 = !DILocalVariable(name: "this", arg: 1, flags: DIFlagArtificial | DIFlagObjectPointer, scope: !22, type: !25) 269*9880d681SAndroid Build Coastguard Worker!68 = !DILocation(line: 0, scope: !22, inlinedAt: !66) 270*9880d681SAndroid Build Coastguard Worker!69 = !DILocation(line: 8, scope: !22, inlinedAt: !66) 271*9880d681SAndroid Build Coastguard Worker!70 = !DILocation(line: 9, scope: !41, inlinedAt: !66) 272*9880d681SAndroid Build Coastguard Worker!71 = !DILocation(line: 9, scope: !46, inlinedAt: !66) 273*9880d681SAndroid Build Coastguard Worker!72 = !DILocation(line: 21, scope: !19) 274*9880d681SAndroid Build Coastguard Worker!73 = !DILocation(line: 22, scope: !20) 275