X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=test%2FDebugInfo%2FAArch64%2Fframeindices.ll;h=029077423368fd7e0f0999c70386e7331fd8ecf6;hb=cc714e214298cfbf11de65b46de31900d51422cf;hp=51424a0bdd4032b411e4753856732dcc098c7a63;hpb=88e419d66e38fe6606cfe15362c40765ea430deb;p=oota-llvm.git diff --git a/test/DebugInfo/AArch64/frameindices.ll b/test/DebugInfo/AArch64/frameindices.ll index 51424a0bdd4..02907742336 100644 --- a/test/DebugInfo/AArch64/frameindices.ll +++ b/test/DebugInfo/AArch64/frameindices.ll @@ -83,7 +83,7 @@ entry: ret void, !dbg !73 } -define void @_Z3f16v() #0 { +define void @_Z3f16v() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) { entry: %agg.tmp.i.i = alloca %struct.A, align 8 %d = alloca %struct.B, align 1 @@ -127,7 +127,7 @@ invoke.cont: ; preds = %call.i.i.noexc ret void, !dbg !94 lpad: ; preds = %call.i.i.noexc, %entry - %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) + %3 = landingpad { i8*, i32 } cleanup, !dbg !94 call void @llvm.dbg.value(metadata %struct.B* %d, i64 0, metadata !39, metadata !79), !dbg !82 %call2 = call %struct.B* @_ZN1BD1Ev(%struct.B* %d) #3, !dbg !94 @@ -160,98 +160,98 @@ attributes #5 = { builtin } !llvm.module.flags = !{!43, !44} !llvm.ident = !{!45} -!0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.7.0 ", isOptimized: true, emissionKind: 1, file: !1, enums: !2, retainedTypes: !3, subprograms: !24, globals: !40, imports: !2) -!1 = !MDFile(filename: "", directory: "") +!0 = !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.7.0 ", isOptimized: true, emissionKind: 1, file: !1, enums: !2, retainedTypes: !3, subprograms: !24, globals: !40, imports: !2) +!1 = !DIFile(filename: "", directory: "") !2 = !{} !3 = !{!4, !12, !14} -!4 = !MDCompositeType(tag: DW_TAG_structure_type, name: "A", line: 2, size: 192, align: 64, file: !5, elements: !6, identifier: "_ZTS1A") -!5 = !MDFile(filename: "test.cpp", directory: "") +!4 = !DICompositeType(tag: DW_TAG_structure_type, name: "A", line: 2, size: 192, align: 64, file: !5, elements: !6, identifier: "_ZTS1A") +!5 = !DIFile(filename: "test.cpp", directory: "") !6 = !{!7, !9, !11} -!7 = !MDDerivedType(tag: DW_TAG_member, name: "x4", line: 3, size: 8, align: 8, file: !5, scope: !"_ZTS1A", baseType: !8) -!8 = !MDBasicType(tag: DW_TAG_base_type, name: "bool", size: 8, align: 8, encoding: DW_ATE_boolean) -!9 = !MDDerivedType(tag: DW_TAG_member, name: "x5", line: 4, size: 64, align: 64, offset: 64, file: !5, scope: !"_ZTS1A", baseType: !10) -!10 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: null) -!11 = !MDDerivedType(tag: DW_TAG_member, name: "x6", line: 5, size: 8, align: 8, offset: 128, file: !5, scope: !"_ZTS1A", baseType: !8) -!12 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !13) -!13 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) -!14 = !MDCompositeType(tag: DW_TAG_structure_type, name: "B", line: 8, size: 8, align: 8, file: !5, elements: !15, identifier: "_ZTS1B") +!7 = !DIDerivedType(tag: DW_TAG_member, name: "x4", line: 3, size: 8, align: 8, file: !5, scope: !"_ZTS1A", baseType: !8) +!8 = !DIBasicType(tag: DW_TAG_base_type, name: "bool", size: 8, align: 8, encoding: DW_ATE_boolean) +!9 = !DIDerivedType(tag: DW_TAG_member, name: "x5", line: 4, size: 64, align: 64, offset: 64, file: !5, scope: !"_ZTS1A", baseType: !10) +!10 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: null) +!11 = !DIDerivedType(tag: DW_TAG_member, name: "x6", line: 5, size: 8, align: 8, offset: 128, file: !5, scope: !"_ZTS1A", baseType: !8) +!12 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, baseType: !13) +!13 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!14 = !DICompositeType(tag: DW_TAG_structure_type, name: "B", line: 8, size: 8, align: 8, file: !5, elements: !15, identifier: "_ZTS1B") !15 = !{!16, !21} -!16 = !MDSubprogram(name: "B", line: 9, isLocal: false, isDefinition: false, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 9, file: !5, scope: !"_ZTS1B", type: !17) -!17 = !MDSubroutineType(types: !18) +!16 = !DISubprogram(name: "B", line: 9, isLocal: false, isDefinition: false, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 9, file: !5, scope: !"_ZTS1B", type: !17) +!17 = !DISubroutineType(types: !18) !18 = !{null, !19, !20} -!19 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer, baseType: !"_ZTS1B") -!20 = !MDBasicType(tag: DW_TAG_base_type, name: "long int", size: 64, align: 64, encoding: DW_ATE_signed) -!21 = !MDSubprogram(name: "~B", line: 10, isLocal: false, isDefinition: false, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 10, file: !5, scope: !"_ZTS1B", type: !22) -!22 = !MDSubroutineType(types: !23) +!19 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFlagObjectPointer, baseType: !"_ZTS1B") +!20 = !DIBasicType(tag: DW_TAG_base_type, name: "long int", size: 64, align: 64, encoding: DW_ATE_signed) +!21 = !DISubprogram(name: "~B", line: 10, isLocal: false, isDefinition: false, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 10, file: !5, scope: !"_ZTS1B", type: !22) +!22 = !DISubroutineType(types: !23) !23 = !{null, !19} !24 = !{!25, !31, !34} -!25 = !MDSubprogram(name: "f13", linkageName: "_Z3f131A", line: 13, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 13, file: !5, scope: !26, type: !27, function: void (%struct.A*)* @_Z3f131A, variables: !29) -!26 = !MDFile(filename: "test.cpp", directory: "") -!27 = !MDSubroutineType(types: !28) +!25 = !DISubprogram(name: "f13", linkageName: "_Z3f131A", line: 13, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 13, file: !5, scope: !26, type: !27, function: void (%struct.A*)* @_Z3f131A, variables: !29) +!26 = !DIFile(filename: "test.cpp", directory: "") +!27 = !DISubroutineType(types: !28) !28 = !{null, !"_ZTS1A"} !29 = !{!30} -!30 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "p1", line: 13, arg: 1, scope: !25, file: !26, type: !"_ZTS1A") -!31 = !MDSubprogram(name: "f11", linkageName: "_Z3f111A", line: 17, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 17, file: !5, scope: !26, type: !27, function: void (%struct.A*)* @_Z3f111A, variables: !32) +!30 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "p1", line: 13, arg: 1, scope: !25, file: !26, type: !"_ZTS1A") +!31 = !DISubprogram(name: "f11", linkageName: "_Z3f111A", line: 17, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 17, file: !5, scope: !26, type: !27, function: void (%struct.A*)* @_Z3f111A, variables: !32) !32 = !{!33} -!33 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "p1", line: 17, arg: 1, scope: !31, file: !26, type: !"_ZTS1A") -!34 = !MDSubprogram(name: "f16", linkageName: "_Z3f16v", line: 18, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 18, file: !5, scope: !26, type: !35, function: void ()* @_Z3f16v, variables: !37) -!35 = !MDSubroutineType(types: !36) +!33 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "p1", line: 17, arg: 1, scope: !31, file: !26, type: !"_ZTS1A") +!34 = !DISubprogram(name: "f16", linkageName: "_Z3f16v", line: 18, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: true, scopeLine: 18, file: !5, scope: !26, type: !35, function: void ()* @_Z3f16v, variables: !37) +!35 = !DISubroutineType(types: !36) !36 = !{null} !37 = !{!38, !39} -!38 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "c", line: 19, scope: !34, file: !26, type: !"_ZTS1A") -!39 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "d", line: 20, scope: !34, file: !26, type: !"_ZTS1B") +!38 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "c", line: 19, scope: !34, file: !26, type: !"_ZTS1A") +!39 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "d", line: 20, scope: !34, file: !26, type: !"_ZTS1B") !40 = !{!41, !42} -!41 = !MDGlobalVariable(name: "a", line: 1, isLocal: false, isDefinition: true, scope: null, file: !26, type: !20, variable: i64* @a) -!42 = !MDGlobalVariable(name: "b", line: 7, isLocal: false, isDefinition: true, scope: null, file: !26, type: !12, variable: i32** @b) +!41 = !DIGlobalVariable(name: "a", line: 1, isLocal: false, isDefinition: true, scope: null, file: !26, type: !20, variable: i64* @a) +!42 = !DIGlobalVariable(name: "b", line: 7, isLocal: false, isDefinition: true, scope: null, file: !26, type: !12, variable: i32** @b) !43 = !{i32 2, !"Dwarf Version", i32 2} !44 = !{i32 2, !"Debug Info Version", i32 3} !45 = !{!"clang version 3.7.0 "} -!46 = !MDExpression(DW_OP_deref) -!47 = !MDLocation(line: 13, column: 12, scope: !25) -!48 = !MDLocation(line: 14, column: 37, scope: !25) +!46 = !DIExpression(DW_OP_deref) +!47 = !DILocation(line: 13, column: 12, scope: !25) +!48 = !DILocation(line: 14, column: 37, scope: !25) !49 = !{!50, !50, i64 0} !50 = !{!"long", !51, i64 0} !51 = !{!"omnipotent char", !52, i64 0} !52 = !{!"Simple C/C++ TBAA"} -!53 = !MDLocation(line: 14, column: 14, scope: !25) -!54 = !MDLocation(line: 14, column: 5, scope: !25) +!53 = !DILocation(line: 14, column: 14, scope: !25) +!54 = !DILocation(line: 14, column: 5, scope: !25) !55 = !{!56, !56, i64 0} !56 = !{!"any pointer", !51, i64 0} -!57 = !MDLocation(line: 15, column: 6, scope: !25) +!57 = !DILocation(line: 15, column: 6, scope: !25) !58 = !{i64 0, i64 1, !59, i64 8, i64 8, !55, i64 16, i64 1, !59} !59 = !{!60, !60, i64 0} !60 = !{!"bool", !51, i64 0} -!61 = !MDLocation(line: 15, column: 3, scope: !25) -!62 = !MDLocation(line: 16, column: 1, scope: !25) -!63 = !MDLocation(line: 17, column: 12, scope: !31) -!64 = !MDLocation(line: 17, column: 22, scope: !31) -!65 = !MDLocation(line: 13, column: 12, scope: !25, inlinedAt: !66) -!66 = distinct !MDLocation(line: 17, column: 18, scope: !31) -!67 = !MDLocation(line: 14, column: 37, scope: !25, inlinedAt: !66) -!68 = !MDLocation(line: 14, column: 14, scope: !25, inlinedAt: !66) -!69 = !MDLocation(line: 14, column: 5, scope: !25, inlinedAt: !66) -!70 = !MDLocation(line: 15, column: 6, scope: !25, inlinedAt: !66) -!71 = !MDLocation(line: 15, column: 3, scope: !25, inlinedAt: !66) -!72 = !MDLocation(line: 16, column: 1, scope: !25, inlinedAt: !66) -!73 = !MDLocation(line: 17, column: 27, scope: !31) -!74 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "p1", line: 17, arg: 1, scope: !31, file: !26, type: !"_ZTS1A") -!75 = distinct !MDLocation(line: 22, column: 3, scope: !34) -!76 = !MDExpression(DW_OP_bit_piece, 8, 120) -!77 = !MDLocation(line: 17, column: 12, scope: !31, inlinedAt: !75) -!78 = !MDExpression(DW_OP_bit_piece, 136, 56) -!79 = !MDExpression() -!80 = !MDLocation(line: 19, column: 5, scope: !34) -!81 = !MDLocation(line: 20, column: 7, scope: !34) -!82 = !MDLocation(line: 20, column: 5, scope: !34) -!83 = !MDExpression(DW_OP_bit_piece, 0, 8) -!84 = !MDExpression(DW_OP_bit_piece, 128, 8) -!85 = !MDLocation(line: 13, column: 12, scope: !25, inlinedAt: !86) -!86 = distinct !MDLocation(line: 17, column: 18, scope: !31, inlinedAt: !75) -!87 = !MDLocation(line: 14, column: 37, scope: !25, inlinedAt: !86) -!88 = !MDLocation(line: 14, column: 14, scope: !25, inlinedAt: !86) -!89 = !MDLocation(line: 22, column: 7, scope: !34) -!90 = !MDLocation(line: 14, column: 5, scope: !25, inlinedAt: !86) -!91 = !MDLocation(line: 15, column: 6, scope: !25, inlinedAt: !86) -!92 = !MDLocation(line: 15, column: 3, scope: !25, inlinedAt: !86) -!93 = !MDLocation(line: 16, column: 1, scope: !25, inlinedAt: !86) -!94 = !MDLocation(line: 23, column: 1, scope: !34) +!61 = !DILocation(line: 15, column: 3, scope: !25) +!62 = !DILocation(line: 16, column: 1, scope: !25) +!63 = !DILocation(line: 17, column: 12, scope: !31) +!64 = !DILocation(line: 17, column: 22, scope: !31) +!65 = !DILocation(line: 13, column: 12, scope: !25, inlinedAt: !66) +!66 = distinct !DILocation(line: 17, column: 18, scope: !31) +!67 = !DILocation(line: 14, column: 37, scope: !25, inlinedAt: !66) +!68 = !DILocation(line: 14, column: 14, scope: !25, inlinedAt: !66) +!69 = !DILocation(line: 14, column: 5, scope: !25, inlinedAt: !66) +!70 = !DILocation(line: 15, column: 6, scope: !25, inlinedAt: !66) +!71 = !DILocation(line: 15, column: 3, scope: !25, inlinedAt: !66) +!72 = !DILocation(line: 16, column: 1, scope: !25, inlinedAt: !66) +!73 = !DILocation(line: 17, column: 27, scope: !31) +!74 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "p1", line: 17, arg: 1, scope: !31, file: !26, type: !"_ZTS1A") +!75 = distinct !DILocation(line: 22, column: 3, scope: !34) +!76 = !DIExpression(DW_OP_bit_piece, 8, 120) +!77 = !DILocation(line: 17, column: 12, scope: !31, inlinedAt: !75) +!78 = !DIExpression(DW_OP_bit_piece, 136, 56) +!79 = !DIExpression() +!80 = !DILocation(line: 19, column: 5, scope: !34) +!81 = !DILocation(line: 20, column: 7, scope: !34) +!82 = !DILocation(line: 20, column: 5, scope: !34) +!83 = !DIExpression(DW_OP_bit_piece, 0, 8) +!84 = !DIExpression(DW_OP_bit_piece, 128, 8) +!85 = !DILocation(line: 13, column: 12, scope: !25, inlinedAt: !86) +!86 = distinct !DILocation(line: 17, column: 18, scope: !31, inlinedAt: !75) +!87 = !DILocation(line: 14, column: 37, scope: !25, inlinedAt: !86) +!88 = !DILocation(line: 14, column: 14, scope: !25, inlinedAt: !86) +!89 = !DILocation(line: 22, column: 7, scope: !34) +!90 = !DILocation(line: 14, column: 5, scope: !25, inlinedAt: !86) +!91 = !DILocation(line: 15, column: 6, scope: !25, inlinedAt: !86) +!92 = !DILocation(line: 15, column: 3, scope: !25, inlinedAt: !86) +!93 = !DILocation(line: 16, column: 1, scope: !25, inlinedAt: !86) +!94 = !DILocation(line: 23, column: 1, scope: !34)