[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / dsymutil / Inputs / swift-interface.s
bloba69f008a6cf3e9ddd45c7fa28c5417d87b3db295
1 ##; Generated from the following manually stripped empty Swift program:
2 ##;
3 ##; target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
4 ##; target triple = "x86_64-apple-macosx10.9.0"
5 ##;
6 ##; @__swift_reflection_version = linkonce_odr hidden constant i16 3
7 ##; @llvm.used = appending global [1 x i8*] [i8* bitcast (i16* @__swift_reflection_version to i8*)], section "llvm.metadata", align 8
8 ##;
9 ##; define i32 @main(i32, i8**) !dbg !29 {
10 ##; entry:
11 ##; %2 = bitcast i8** %1 to i8*
12 ##; ret i32 0, !dbg !35
13 ##; }
14 ##;
15 ##; !llvm.dbg.cu = !{!0}
16 ##; !swift.module.flags = !{!14}
17 ##; !llvm.module.flags = !{!20, !21, !24}
18 ##;
19 ##; !0 = distinct !DICompileUnit(language: DW_LANG_Swift, file: !1, isOptimized: false, runtimeVersion: 5, emissionKind: FullDebug, enums: !2, imports: !3, sysroot: "/SDK")
20 ##; !1 = !DIFile(filename: "ParseableInterfaceImports.swift", directory: "/")
21 ##; !2 = !{}
22 ##; !3 = !{!4, !6, !8}
23 ##; !4 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !1, entity: !5, file: !1)
24 ##; !5 = !DIModule(scope: null, name: "Foo", includePath: "/Foo/x86_64.swiftinterface")
25 ##; !6 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !1, entity: !7, file: !1)
26 ##; !7 = !DIModule(scope: null, name: "Swift", includePath: "/SDK/Swift.swiftmodule/x86_64.swiftinterface")
27 ##; !8 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !1, entity: !7, file: !1)
28 ##; !9 = !DIModule(scope: null, name: "Foundation", includePath: "/SDK/Foundation.swiftmodule")
29 ##; !14 = !{!"standard-library", i1 false}
30 ##; !20 = !{i32 2, !"Dwarf Version", i32 4}
31 ##; !21 = !{i32 2, !"Debug Info Version", i32 3}
32 ##; !24 = !{i32 1, !"Swift Version", i32 7}
33 ##; !29 = distinct !DISubprogram(name: "main", linkageName: "main", scope: !5, file: !1, line: 1, type: !30, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2)
34 ##; !30 = !DISubroutineType(types: !31)
35 ##; !31 = !{}
36 ##; !35 = !DILocation(line: 0, scope: !36)
37 ##; !36 = !DILexicalBlockFile(scope: !29, file: !37, discriminator: 0)
38 ##; !37 = !DIFile(filename: "<compiler-generated>", directory: "")
39 .section __TEXT,__text,regular,pure_instructions
40 .macosx_version_min 10, 9
41 .globl _main ## -- Begin function main
42 .p2align 4, 0x90
43 _main: ## @main
44 Lfunc_begin0:
45 .file 1 "/" "ParseableInterfaceImports.swift"
46 .loc 1 0 0 ## ParseableInterfaceImports.swift:0:0
47 .cfi_startproc
48 ## %bb.0: ## %entry
49 xorl %eax, %eax
50 retq
51 Ltmp0:
52 Lfunc_end0:
53 .cfi_endproc
54 ## -- End function
55 .private_extern ___swift_reflection_version ## @__swift_reflection_version
56 .section __TEXT,__const
57 .globl ___swift_reflection_version
58 .weak_definition ___swift_reflection_version
59 .p2align 1, 0x0
60 ___swift_reflection_version:
61 .short 3 ## 0x3
63 .no_dead_strip ___swift_reflection_version
64 .section __DWARF,__debug_abbrev,regular,debug
65 Lsection_abbrev:
66 .byte 1 ## Abbreviation Code
67 .byte 17 ## DW_TAG_compile_unit
68 .byte 1 ## DW_CHILDREN_yes
69 .byte 37 ## DW_AT_producer
70 .byte 14 ## DW_FORM_strp
71 .byte 19 ## DW_AT_language
72 .byte 5 ## DW_FORM_data2
73 .byte 3 ## DW_AT_name
74 .byte 14 ## DW_FORM_strp
75 .ascii "\202|" ## DW_AT_LLVM_sysroot
76 .byte 14 ## DW_FORM_strp
77 .byte 16 ## DW_AT_stmt_list
78 .byte 23 ## DW_FORM_sec_offset
79 .byte 27 ## DW_AT_comp_dir
80 .byte 14 ## DW_FORM_strp
81 .ascii "\345\177" ## DW_AT_APPLE_major_runtime_vers
82 .byte 11 ## DW_FORM_data1
83 .byte 17 ## DW_AT_low_pc
84 .byte 1 ## DW_FORM_addr
85 .byte 18 ## DW_AT_high_pc
86 .byte 6 ## DW_FORM_data4
87 .byte 0 ## EOM(1)
88 .byte 0 ## EOM(2)
89 .byte 2 ## Abbreviation Code
90 .byte 30 ## DW_TAG_module
91 .byte 1 ## DW_CHILDREN_yes
92 .byte 3 ## DW_AT_name
93 .byte 14 ## DW_FORM_strp
94 .ascii "\200|" ## DW_AT_LLVM_include_path
95 .byte 14 ## DW_FORM_strp
96 .byte 0 ## EOM(1)
97 .byte 0 ## EOM(2)
98 .byte 3 ## Abbreviation Code
99 .byte 46 ## DW_TAG_subprogram
100 .byte 0 ## DW_CHILDREN_no
101 .byte 17 ## DW_AT_low_pc
102 .byte 1 ## DW_FORM_addr
103 .byte 18 ## DW_AT_high_pc
104 .byte 6 ## DW_FORM_data4
105 .ascii "\347\177" ## DW_AT_APPLE_omit_frame_ptr
106 .byte 25 ## DW_FORM_flag_present
107 .byte 64 ## DW_AT_frame_base
108 .byte 24 ## DW_FORM_exprloc
109 .byte 110 ## DW_AT_linkage_name
110 .byte 14 ## DW_FORM_strp
111 .byte 3 ## DW_AT_name
112 .byte 14 ## DW_FORM_strp
113 .byte 58 ## DW_AT_decl_file
114 .byte 11 ## DW_FORM_data1
115 .byte 59 ## DW_AT_decl_line
116 .byte 11 ## DW_FORM_data1
117 .byte 63 ## DW_AT_external
118 .byte 25 ## DW_FORM_flag_present
119 .byte 0 ## EOM(1)
120 .byte 0 ## EOM(2)
121 .byte 4 ## Abbreviation Code
122 .byte 58 ## DW_TAG_imported_module
123 .byte 0 ## DW_CHILDREN_no
124 .byte 24 ## DW_AT_import
125 .byte 19 ## DW_FORM_ref4
126 .byte 0 ## EOM(1)
127 .byte 0 ## EOM(2)
128 .byte 5 ## Abbreviation Code
129 .byte 30 ## DW_TAG_module
130 .byte 0 ## DW_CHILDREN_no
131 .byte 3 ## DW_AT_name
132 .byte 14 ## DW_FORM_strp
133 .ascii "\200|" ## DW_AT_LLVM_include_path
134 .byte 14 ## DW_FORM_strp
135 .byte 0 ## EOM(1)
136 .byte 0 ## EOM(2)
137 .byte 0 ## EOM(3)
138 .section __DWARF,__debug_info,regular,debug
139 Lsection_info:
140 Lcu_begin0:
141 .set Lset0, Ldebug_info_end0-Ldebug_info_start0 ## Length of Unit
142 .long Lset0
143 Ldebug_info_start0:
144 .short 4 ## DWARF version number
145 .set Lset1, Lsection_abbrev-Lsection_abbrev ## Offset Into Abbrev. Section
146 .long Lset1
147 .byte 8 ## Address Size (in bytes)
148 .byte 1 ## Abbrev [1] 0xb:0x60 DW_TAG_compile_unit
149 .long 0 ## DW_AT_producer
150 .short 30 ## DW_AT_language
151 .long 1 ## DW_AT_name
152 .long 33 ## DW_AT_LLVM_sysroot
153 .set Lset2, Lline_table_start0-Lsection_line ## DW_AT_stmt_list
154 .long Lset2
155 .long 38 ## DW_AT_comp_dir
156 .byte 5 ## DW_AT_APPLE_major_runtime_vers
157 .quad Lfunc_begin0 ## DW_AT_low_pc
158 .set Lset3, Lfunc_end0-Lfunc_begin0 ## DW_AT_high_pc
159 .long Lset3
160 .byte 2 ## Abbrev [2] 0x2f:0x23 DW_TAG_module
161 .long 40 ## DW_AT_name
162 .long 44 ## DW_AT_LLVM_include_path
163 .byte 3 ## Abbrev [3] 0x38:0x19 DW_TAG_subprogram
164 .quad Lfunc_begin0 ## DW_AT_low_pc
165 .set Lset4, Lfunc_end0-Lfunc_begin0 ## DW_AT_high_pc
166 .long Lset4
167 ## DW_AT_APPLE_omit_frame_ptr
168 .byte 1 ## DW_AT_frame_base
169 .byte 87
170 .long 122 ## DW_AT_linkage_name
171 .long 122 ## DW_AT_name
172 .byte 1 ## DW_AT_decl_file
173 .byte 1 ## DW_AT_decl_line
174 ## DW_AT_external
175 .byte 0 ## End Of Children Mark
176 .byte 4 ## Abbrev [4] 0x52:0x5 DW_TAG_imported_module
177 .long 47 ## DW_AT_import
178 .byte 5 ## Abbrev [5] 0x57:0x9 DW_TAG_module
179 .long 71 ## DW_AT_name
180 .long 77 ## DW_AT_LLVM_include_path
181 .byte 4 ## Abbrev [4] 0x60:0x5 DW_TAG_imported_module
182 .long 87 ## DW_AT_import
183 .byte 4 ## Abbrev [4] 0x65:0x5 DW_TAG_imported_module
184 .long 87 ## DW_AT_import
185 .byte 0 ## End Of Children Mark
186 Ldebug_info_end0:
187 .section __DWARF,__debug_str,regular,debug
188 Linfo_string:
189 .byte 0 ## string offset=0
190 .asciz "ParseableInterfaceImports.swift" ## string offset=1
191 .asciz "/SDK" ## string offset=33
192 .asciz "/" ## string offset=38
193 .asciz "Foo" ## string offset=40
194 .asciz "/Foo/x86_64.swiftinterface" ## string offset=44
195 .asciz "Swift" ## string offset=71
196 .asciz "/SDK/Swift.swiftmodule/x86_64.swiftinterface" ## string offset=77
197 .asciz "main" ## string offset=122
198 .section __DWARF,__apple_names,regular,debug
199 Lnames_begin:
200 .long 1212240712 ## Header Magic
201 .short 1 ## Header Version
202 .short 0 ## Header Hash Function
203 .long 1 ## Header Bucket Count
204 .long 1 ## Header Hash Count
205 .long 12 ## Header Data Length
206 .long 0 ## HeaderData Die Offset Base
207 .long 1 ## HeaderData Atom Count
208 .short 1 ## DW_ATOM_die_offset
209 .short 6 ## DW_FORM_data4
210 .long 0 ## Bucket 0
211 .long 2090499946 ## Hash in Bucket 0
212 .set Lset5, LNames0-Lnames_begin ## Offset in Bucket 0
213 .long Lset5
214 LNames0:
215 .long 122 ## main
216 .long 1 ## Num DIEs
217 .long 56
218 .long 0
219 .section __DWARF,__apple_objc,regular,debug
220 Lobjc_begin:
221 .long 1212240712 ## Header Magic
222 .short 1 ## Header Version
223 .short 0 ## Header Hash Function
224 .long 1 ## Header Bucket Count
225 .long 0 ## Header Hash Count
226 .long 12 ## Header Data Length
227 .long 0 ## HeaderData Die Offset Base
228 .long 1 ## HeaderData Atom Count
229 .short 1 ## DW_ATOM_die_offset
230 .short 6 ## DW_FORM_data4
231 .long -1 ## Bucket 0
232 .section __DWARF,__apple_namespac,regular,debug
233 Lnamespac_begin:
234 .long 1212240712 ## Header Magic
235 .short 1 ## Header Version
236 .short 0 ## Header Hash Function
237 .long 1 ## Header Bucket Count
238 .long 0 ## Header Hash Count
239 .long 12 ## Header Data Length
240 .long 0 ## HeaderData Die Offset Base
241 .long 1 ## HeaderData Atom Count
242 .short 1 ## DW_ATOM_die_offset
243 .short 6 ## DW_FORM_data4
244 .long -1 ## Bucket 0
245 .section __DWARF,__apple_types,regular,debug
246 Ltypes_begin:
247 .long 1212240712 ## Header Magic
248 .short 1 ## Header Version
249 .short 0 ## Header Hash Function
250 .long 1 ## Header Bucket Count
251 .long 0 ## Header Hash Count
252 .long 20 ## Header Data Length
253 .long 0 ## HeaderData Die Offset Base
254 .long 3 ## HeaderData Atom Count
255 .short 1 ## DW_ATOM_die_offset
256 .short 6 ## DW_FORM_data4
257 .short 3 ## DW_ATOM_die_tag
258 .short 5 ## DW_FORM_data2
259 .short 4 ## DW_ATOM_type_flags
260 .short 11 ## DW_FORM_data1
261 .long -1 ## Bucket 0
262 .subsections_via_symbols
263 .section __DWARF,__debug_line,regular,debug
264 Lsection_line:
265 Lline_table_start0: