comparison test/DebugInfo/X86/lexical_block.ll @ 100:7d135dc70f03 LLVM 3.9

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents afa8332a0e37
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
96:6418606d0ead 100:7d135dc70f03
20 ; if (int i = 3) 20 ; if (int i = 3)
21 ; return; 21 ; return;
22 ; } 22 ; }
23 23
24 ; Function Attrs: nounwind uwtable 24 ; Function Attrs: nounwind uwtable
25 define void @_Z1bv() #0 { 25 define void @_Z1bv() #0 !dbg !4 {
26 entry: 26 entry:
27 %i = alloca i32, align 4 27 %i = alloca i32, align 4
28 call void @llvm.dbg.declare(metadata i32* %i, metadata !11, metadata !DIExpression()), !dbg !14 28 call void @llvm.dbg.declare(metadata i32* %i, metadata !11, metadata !DIExpression()), !dbg !14
29 store i32 3, i32* %i, align 4, !dbg !14 29 store i32 3, i32* %i, align 4, !dbg !14
30 %0 = load i32, i32* %i, align 4, !dbg !14 30 %0 = load i32, i32* %i, align 4, !dbg !14
50 50
51 !0 = distinct !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) 51 !0 = distinct !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)
52 !1 = !DIFile(filename: "lexical_block.cpp", directory: "/tmp/dbginfo") 52 !1 = !DIFile(filename: "lexical_block.cpp", directory: "/tmp/dbginfo")
53 !2 = !{} 53 !2 = !{}
54 !3 = !{!4} 54 !3 = !{!4}
55 !4 = distinct !DISubprogram(name: "b", linkageName: "_Z1bv", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void ()* @_Z1bv, variables: !2) 55 !4 = distinct !DISubprogram(name: "b", linkageName: "_Z1bv", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, variables: !2)
56 !5 = !DIFile(filename: "lexical_block.cpp", directory: "/tmp/dbginfo") 56 !5 = !DIFile(filename: "lexical_block.cpp", directory: "/tmp/dbginfo")
57 !6 = !DISubroutineType(types: !7) 57 !6 = !DISubroutineType(types: !7)
58 !7 = !{null} 58 !7 = !{null}
59 !8 = !{i32 2, !"Dwarf Version", i32 4} 59 !8 = !{i32 2, !"Dwarf Version", i32 4}
60 !9 = !{i32 1, !"Debug Info Version", i32 3} 60 !9 = !{i32 1, !"Debug Info Version", i32 3}