diff options
Diffstat (limited to 'llvm/test/DebugInfo/inline-scopes.ll')
-rw-r--r-- | llvm/test/DebugInfo/inline-scopes.ll | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/llvm/test/DebugInfo/inline-scopes.ll b/llvm/test/DebugInfo/inline-scopes.ll index 55c035b6d85..45324f6a4b9 100644 --- a/llvm/test/DebugInfo/inline-scopes.ll +++ b/llvm/test/DebugInfo/inline-scopes.ll @@ -43,7 +43,7 @@ entry: %b.i3 = alloca i8, align 1 %retval.i = alloca i32, align 4 %b.i = alloca i8, align 1 - call void @llvm.dbg.declare(metadata i8* %b.i, metadata !16, metadata !MDExpression()), !dbg !19 + call void @llvm.dbg.declare(metadata i8* %b.i, metadata !16, metadata !DIExpression()), !dbg !19 %call.i = call zeroext i1 @_Z1fv(), !dbg !19 %frombool.i = zext i1 %call.i to i8, !dbg !19 store i8 %frombool.i, i8* %b.i, align 1, !dbg !19 @@ -61,7 +61,7 @@ if.end.i: ; preds = %entry _Z2f1v.exit: ; preds = %if.then.i, %if.end.i %1 = load i32, i32* %retval.i, !dbg !23 - call void @llvm.dbg.declare(metadata i8* %b.i3, metadata !24, metadata !MDExpression()), !dbg !27 + call void @llvm.dbg.declare(metadata i8* %b.i3, metadata !24, metadata !DIExpression()), !dbg !27 %call.i4 = call zeroext i1 @_Z1fv(), !dbg !27 %frombool.i5 = zext i1 %call.i4 to i8, !dbg !27 store i8 %frombool.i5, i8* %b.i3, align 1, !dbg !27 @@ -95,36 +95,36 @@ attributes #2 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n !llvm.module.flags = !{!13, !14} !llvm.ident = !{!15} -!0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2) -!1 = !MDFile(filename: "inline-scopes.cpp", directory: "/tmp/dbginfo") +!0 = !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2) +!1 = !DIFile(filename: "inline-scopes.cpp", directory: "/tmp/dbginfo") !2 = !{} !3 = !{!4, !10, !12} -!4 = !MDSubprogram(name: "main", line: 7, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 7, file: !5, scope: !6, type: !7, function: i32 ()* @main, variables: !2) -!5 = !MDFile(filename: "y.cc", directory: "/tmp/dbginfo") -!6 = !MDFile(filename: "y.cc", directory: "/tmp/dbginfo") -!7 = !MDSubroutineType(types: !8) +!4 = !DISubprogram(name: "main", line: 7, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 7, file: !5, scope: !6, type: !7, function: i32 ()* @main, variables: !2) +!5 = !DIFile(filename: "y.cc", directory: "/tmp/dbginfo") +!6 = !DIFile(filename: "y.cc", directory: "/tmp/dbginfo") +!7 = !DISubroutineType(types: !8) !8 = !{!9} -!9 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) -!10 = !MDSubprogram(name: "f2", linkageName: "_Z2f2v", line: 8, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 8, file: !1, scope: !11, type: !7, variables: !2) -!11 = !MDFile(filename: "inline-scopes.cpp", directory: "/tmp/dbginfo") -!12 = !MDSubprogram(name: "f1", linkageName: "_Z2f1v", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 2, file: !1, scope: !11, type: !7, variables: !2) +!9 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) +!10 = !DISubprogram(name: "f2", linkageName: "_Z2f2v", line: 8, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 8, file: !1, scope: !11, type: !7, variables: !2) +!11 = !DIFile(filename: "inline-scopes.cpp", directory: "/tmp/dbginfo") +!12 = !DISubprogram(name: "f1", linkageName: "_Z2f1v", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 2, file: !1, scope: !11, type: !7, variables: !2) !13 = !{i32 2, !"Dwarf Version", i32 4} !14 = !{i32 1, !"Debug Info Version", i32 3} !15 = !{!"clang version 3.5.0 "} -!16 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "b", line: 3, scope: !17, file: !11, type: !18) -!17 = distinct !MDLexicalBlock(line: 3, column: 0, file: !1, scope: !12) -!18 = !MDBasicType(tag: DW_TAG_base_type, name: "bool", size: 8, align: 8, encoding: DW_ATE_boolean) -!19 = !MDLocation(line: 3, scope: !17, inlinedAt: !20) -!20 = !MDLocation(line: 8, scope: !4) -!21 = !MDLocation(line: 4, scope: !17, inlinedAt: !20) -!22 = !MDLocation(line: 5, scope: !12, inlinedAt: !20) -!23 = !MDLocation(line: 6, scope: !12, inlinedAt: !20) -!24 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "b", line: 2, scope: !25, file: !6, type: !18) -!25 = distinct !MDLexicalBlock(line: 2, column: 0, file: !5, scope: !26) -!26 = !MDLexicalBlockFile(discriminator: 0, file: !5, scope: !10) -!27 = !MDLocation(line: 2, scope: !25, inlinedAt: !28) -!28 = !MDLocation(line: 9, scope: !4) -!29 = !MDLocation(line: 3, scope: !25, inlinedAt: !28) -!30 = !MDLocation(line: 4, scope: !26, inlinedAt: !28) -!31 = !MDLocation(line: 5, scope: !26, inlinedAt: !28) -!32 = !MDLocation(line: 10, scope: !4) +!16 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "b", line: 3, scope: !17, file: !11, type: !18) +!17 = distinct !DILexicalBlock(line: 3, column: 0, file: !1, scope: !12) +!18 = !DIBasicType(tag: DW_TAG_base_type, name: "bool", size: 8, align: 8, encoding: DW_ATE_boolean) +!19 = !DILocation(line: 3, scope: !17, inlinedAt: !20) +!20 = !DILocation(line: 8, scope: !4) +!21 = !DILocation(line: 4, scope: !17, inlinedAt: !20) +!22 = !DILocation(line: 5, scope: !12, inlinedAt: !20) +!23 = !DILocation(line: 6, scope: !12, inlinedAt: !20) +!24 = !DILocalVariable(tag: DW_TAG_auto_variable, name: "b", line: 2, scope: !25, file: !6, type: !18) +!25 = distinct !DILexicalBlock(line: 2, column: 0, file: !5, scope: !26) +!26 = !DILexicalBlockFile(discriminator: 0, file: !5, scope: !10) +!27 = !DILocation(line: 2, scope: !25, inlinedAt: !28) +!28 = !DILocation(line: 9, scope: !4) +!29 = !DILocation(line: 3, scope: !25, inlinedAt: !28) +!30 = !DILocation(line: 4, scope: !26, inlinedAt: !28) +!31 = !DILocation(line: 5, scope: !26, inlinedAt: !28) +!32 = !DILocation(line: 10, scope: !4) |