comparison test/DebugInfo/Inputs/gmlt.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
96 ; CHECK-NOT: Offset 96 ; CHECK-NOT: Offset
97 97
98 ; CHECK: .apple{{.*}} contents: 98 ; CHECK: .apple{{.*}} contents:
99 99
100 ; Function Attrs: nounwind uwtable 100 ; Function Attrs: nounwind uwtable
101 define void @_Z2f1v() #0 { 101 define void @_Z2f1v() #0 !dbg !4 {
102 entry: 102 entry:
103 ret void, !dbg !13 103 ret void, !dbg !13
104 } 104 }
105 105
106 ; Function Attrs: nounwind uwtable 106 ; Function Attrs: nounwind uwtable
107 define void @_Z2f2v() #0 section "__TEXT,__bar" { 107 define void @_Z2f2v() #0 section "__TEXT,__bar" !dbg !7 {
108 entry: 108 entry:
109 ret void, !dbg !14 109 ret void, !dbg !14
110 } 110 }
111 111
112 ; Function Attrs: alwaysinline nounwind uwtable 112 ; Function Attrs: alwaysinline nounwind uwtable
113 define void @_Z2f3v() #1 { 113 define void @_Z2f3v() #1 !dbg !8 {
114 entry: 114 entry:
115 call void @_Z2f1v(), !dbg !15 115 call void @_Z2f1v(), !dbg !15
116 ret void, !dbg !16 116 ret void, !dbg !16
117 } 117 }
118 118
119 ; Function Attrs: nounwind uwtable 119 ; Function Attrs: nounwind uwtable
120 define void @_Z2f4v() #0 { 120 define void @_Z2f4v() #0 !dbg !9 {
121 entry: 121 entry:
122 call void @_Z2f1v() #2, !dbg !17 122 call void @_Z2f1v() #2, !dbg !17
123 ret void, !dbg !19 123 ret void, !dbg !19
124 } 124 }
125 125
133 133
134 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: false, emissionKind: 2, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2) 134 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: false, emissionKind: 2, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
135 !1 = !DIFile(filename: "gmlt.cpp", directory: "/tmp/dbginfo") 135 !1 = !DIFile(filename: "gmlt.cpp", directory: "/tmp/dbginfo")
136 !2 = !{} 136 !2 = !{}
137 !3 = !{!4, !7, !8, !9} 137 !3 = !{!4, !7, !8, !9}
138 !4 = distinct !DISubprogram(name: "f1", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: void ()* @_Z2f1v, variables: !2) 138 !4 = distinct !DISubprogram(name: "f1", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, variables: !2)
139 !5 = !DIFile(filename: "gmlt.cpp", directory: "/tmp/dbginfo") 139 !5 = !DIFile(filename: "gmlt.cpp", directory: "/tmp/dbginfo")
140 !6 = !DISubroutineType(types: !2) 140 !6 = !DISubroutineType(types: !2)
141 !7 = distinct !DISubprogram(name: "f2", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 2, file: !1, scope: !5, type: !6, function: void ()* @_Z2f2v, variables: !2) 141 !7 = distinct !DISubprogram(name: "f2", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 2, file: !1, scope: !5, type: !6, variables: !2)
142 !8 = distinct !DISubprogram(name: "f3", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 3, file: !1, scope: !5, type: !6, function: void ()* @_Z2f3v, variables: !2) 142 !8 = distinct !DISubprogram(name: "f3", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 3, file: !1, scope: !5, type: !6, variables: !2)
143 !9 = distinct !DISubprogram(name: "f4", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 4, file: !1, scope: !5, type: !6, function: void ()* @_Z2f4v, variables: !2) 143 !9 = distinct !DISubprogram(name: "f4", line: 4, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 4, file: !1, scope: !5, type: !6, variables: !2)
144 !10 = !{i32 2, !"Dwarf Version", i32 4} 144 !10 = !{i32 2, !"Dwarf Version", i32 4}
145 !11 = !{i32 2, !"Debug Info Version", i32 3} 145 !11 = !{i32 2, !"Debug Info Version", i32 3}
146 !12 = !{!"clang version 3.6.0 "} 146 !12 = !{!"clang version 3.6.0 "}
147 !13 = !DILocation(line: 1, column: 12, scope: !4) 147 !13 = !DILocation(line: 1, column: 12, scope: !4)
148 !14 = !DILocation(line: 2, column: 53, scope: !7) 148 !14 = !DILocation(line: 2, column: 53, scope: !7)