1 # How to generate this file:
2 # 1. First take a swift file and run xcrun swiftc -g -v file.swift
3 # secondfile.swift, make sure the two swift files are in a short path like /tmp/
5 # 2. Now you can see what the driver does, generate the object files in the
8 # 3. Run obj2yaml on object file to create a yaml file
10 # 4. I ran delta to reduce this file.
55 - sectname: __swift5_typeref
66 content: 7800423000005369000001FFFFFFFF002473346D61696E31304D7950726F746F636F6C50000001FFFFFFFF0001FFFFFFFF0001FFFFFFFF0001FFFFFFFF0035496E6E657201F9FFFFFF517A0001FFFFFFFF797847000001FFFFFFFF797847000001FFFFFFFF0001FFFFFFFF0001FFFFFFFF79784700
76 - sectname: __swift5_capture
87 content: 010000000100000002000000F4FFFFFFF0FFFFFFECFFFFFF
97 - sectname: __swift5_reflstr
108 content: 496E6E65720069006D73006D6500696E6E6572004300490074006D6773006D676500474300
109 - sectname: __swift5_assocty
120 content: 00000000FCFFFFFF0100000008000000F0FFFFFFECFFFFFF
130 - sectname: __swift5_fieldmd
141 content: 000000000000000004000C0000000000000000000000000001000C000300000000000000ECFFFFFFE8FFFFFF00000000E0FFFFFFDCFFFFFF00000000D4FFFFFFD0FFFFFF000000000000000000000C000100000002000000ECFFFFFFE8FFFFFF000000000000000000000C0000000000000000000000000003000C000200000000000000ECFFFFFFE8FFFFFF00000000E0FFFFFFDCFFFFFF000000000000000001000C000400000000000000ECFFFFFFE8FFFFFF00000000E0FFFFFFDCFFFFFF00000000D4FFFFFFD0FFFFFF00000000C8FFFFFFC4FFFFFF000000000000000000000C0000000000000000000000000002000C000100000000000000ECFFFFFFE8FFFFFF
151 - sectname: __swift5_builtin
162 content: 00000000090000000800010010000000FE000000
172 - sectname: __swift5_proto
183 content: 41424344454647484950
184 - sectname: __swift5_protos
195 content: 51525354555657585960
196 - sectname: __swift5_acfuncs
207 content: 61626364656667686970
208 - sectname: __swift5_mpenum
219 content: 71727374757677787980
240 - cmd: LC_BUILD_VERSION
272 - cmd: LC_LINKER_OPTION
275 PayloadBytes: [ 0x2D, 0x6C, 0x73, 0x77, 0x69, 0x66, 0x74, 0x53,
277 - cmd: LC_LINKER_OPTION
280 PayloadBytes: [ 0x2D, 0x6C, 0x73, 0x77, 0x69, 0x66, 0x74, 0x43,
281 0x6F, 0x72, 0x65, 0x0 ]
282 - cmd: LC_LINKER_OPTION
285 PayloadBytes: [ 0x2D, 0x6C, 0x73, 0x77, 0x69, 0x66, 0x74, 0x5F,
286 0x6E, 0x63, 0x79, 0x0 ]
287 - cmd: LC_LINKER_OPTION
290 PayloadBytes: [ 0x2D, 0x6C, 0x6F, 0x62, 0x6A, 0x63, 0x0, 0x0, 0x0,
302 - '_$s4main6MyEnumOWOy'
303 - '_$s4main6MyEnumOwxx'
305 - '_$s4main6MyEnumOwst'
306 - '_$s4main13MyGenericEnumOwst'
307 - '_$s4main6MyEnumOwet'
308 - '_$s4main13MyGenericEnumOwet'
309 - '_OBJC_CLASS_$__TtCs12_SwiftObject'
310 - '_OBJC_METACLASS_$__TtCs12_SwiftObject'
311 - _swift_deallocObject
313 - '_$s4main11ConformanceV5innerSivs'
314 - _swift_getAssociatedTypeWitness
315 - __IVARS__TtC4main7MyClass
316 - __DATA__TtC4main7MyClass
317 - __METACLASS_DATA__TtC4main7MyClass
318 - __IVARS__TtC4main14MyGenericClass
321 - l_protocol_conformances
322 - l__swift5_reflection_descriptor
323 - l_coro.devirt.trigger
324 - '_$s4main14MyGenericClassCMr'
325 - '_$s4main7MyClassC1i2ms2meACSi_AA0B6StructVAA0B4EnumOtcfCTq'
326 - '_$s4main14MyGenericClassC1t1i3mgs3mgeACyxGx_5InnerQzAA0bC6StructVyxGAA0bC4EnumOyxGtcfCTq'
327 - '_$s4main6MyEnumOwup'
328 - '_$s4main13MyGenericEnumOwup'
329 - '_$s4main6MyEnumOwcp'
330 - '_$s4main10MyProtocolMp'
331 - ___swift_reflection_version
334 - '_$s4main8MyStructVMn'
335 - '_$s4main15MyGenericStructVMn'
336 - '_$s4main11ConformanceVMn'
337 - '_$s4main6MyEnumOMn'
338 - '_$s4main13MyGenericEnumOMn'
339 - '_$s4main7MyClassCMn'
340 - '_$s4main14MyGenericClassCMn'
341 - '_$s4main7MyClassCMm'
342 - '_$s5Inner4main10MyProtocolPTl'
343 - '_$s4main6MyEnumOwui'
344 - '_$s4main13MyGenericEnumOwui'
345 - '_$s4main11ConformanceV5innerSivpfi'
347 - '_$s4main15MyGenericStructVMi'
348 - '_$s4main13MyGenericEnumOMi'
349 - '_$s4main14MyGenericClassCMi'
350 - l_llvm.swift_module_hash
351 - '_$s4main13MyGenericEnumOyxGAA0B8ProtocolRzlWOh'
352 - '_$s4main6MyEnumOWOh'
353 - '_$s4main14MyGenericClassC1i5InnerQzvg'
354 - '_$s4main14MyGenericClassC1txvg'
355 - '_$s4main11ConformanceV5innerSivg'
356 - '_$s4main7MyClassC1iSivg'
357 - '_$s4main7MyClassC2msAA0B6StructVvg'
358 - '_$s4main7MyClassC2meAA0B4EnumOvg'
359 - '_$s4main14MyGenericClassC3mgsAA0bC6StructVyxGvg'
360 - '_$s4main14MyGenericClassC3mgeAA0bC4EnumOyxGvg'
361 - '_$s4main6MyEnumOwug'
362 - '_$s4main13MyGenericEnumOwug'
363 - ___swift_initWithCopy_strong
364 - ___swift_assignWithCopy_strong
365 - ___swift_destroy_strong
366 - ___swift_assignWithTake_strong
368 - '_$s4main8MyStructVMf'
369 - '_$s4main11ConformanceVMf'
370 - '_$s4main6MyEnumOMf'
371 - '_$s4main7MyClassCMf'
372 - _swift_checkMetadataState
374 - l_type_metadata_table
376 - _swift_deallocClassInstance
377 - ___chkstk_darwin_llvm_probe
378 - '_$s4main6MyEnumOWOe'
379 - '_$s4main7MyClassC1iSivpWvd'
380 - '_$s4main7MyClassC2msAA0B6StructVvpWvd'
381 - '_$s4main7MyClassC2meAA0B4EnumOvpWvd'
382 - '_$s4main14MyGenericClassC3mgsAA0bC6StructVyxGvpWvd'
383 - '_$s4main7MyClassCfd'
384 - '_$s4main14MyGenericClassCfd'
385 - '_$s4main7MyClassC1i2ms2meACSi_AA0B6StructVAA0B4EnumOtcfc'
386 - '_$s4main14MyGenericClassC1t1i3mgs3mgeACyxGx_5InnerQzAA0bC6StructVyxGAA0bC4EnumOyxGtcfc'
387 - '_$s4main11ConformanceVAA10MyProtocolAAMc'
388 - '_$s4main6MyEnumOwta'
390 - _swift_allocateGenericClassMetadata
391 - _swift_allocateGenericValueMetadata
392 - _swift_getGenericMetadata
393 - ___swift_instantiateGenericMetadata
394 - '_$s4main6MyEnumOwca'
395 - '_$s4main8MyStructVMa'
396 - '_$s4main15MyGenericStructVMa'
397 - '_$s4main11ConformanceVMa'
398 - '_$s4main6MyEnumOMa'
399 - '_$s4main13MyGenericEnumOMa'
400 - '_$s4main7MyClassCMa'
401 - '_$s4main14MyGenericClassCMa'
402 - '_$s4main16makeSomeClosures1tyycx_tAA10MyProtocolRzlFyycfU_'
403 - '_$s4main11ConformanceV5innerACSi_tcfcfA_'
404 - '_$s4main11ConformanceVAA10MyProtocolA2aDP5inner5InnerQzvgTW'
405 - _symbolic _____ 4main8MyStructV
406 - _symbolic _____ 4main15MyGenericStructV
407 - _symbolic _____yxG 4main15MyGenericStructV
408 - _symbolic _____ 4main11ConformanceV
412 - '_$s4main6MyEnumOWV'
413 - '_$s4main13MyGenericEnumOWV'
414 - '_$s4main11ConformanceV5innerSivpMV'
415 - '_symbolic $s4main10MyProtocolP'
416 - _symbolic 5Inner_____Qz 4main10MyProtocolP
417 - '_$s4main11ConformanceVAA10MyProtocolAAWP'
418 - '_$s4main15MyGenericStructVMP'
419 - '_$s4main13MyGenericEnumOMP'
420 - '_$s4main14MyGenericClassCMP'
421 - '_$s4main6MyEnumOwCP'
422 - _symbolic _____ 4main6MyEnumO
423 - _symbolic _____ 4main13MyGenericEnumO
424 - _symbolic _____yxG 4main13MyGenericEnumO
425 - '_$s4main8MyStructVN'
426 - '_$s4main11ConformanceVN'
427 - '_$s4main6MyEnumON'
428 - '_$s4main7MyClassCN'
429 - '_$s4main11ConformanceV5innerSivM'
431 - '_$s4main10MyProtocolTL'
432 - '_$s4main15MyGenericStructVMI'
433 - '_$s4main13MyGenericEnumOMI'
434 - '_$s4main14MyGenericClassCMI'
435 - '_$s4main16makeSomeClosures1tyycx_tAA10MyProtocolRzlF'
436 - '_$s4main10MyProtocol_pMF'
437 - '_$s4main8MyStructVMF'
438 - '_$s4main15MyGenericStructVMF'
439 - '_$s4main11ConformanceVMF'
440 - '_$s4main6MyEnumOMF'
441 - '_$s4main13MyGenericEnumOMF'
442 - '_$s4main7MyClassCMF'
443 - '_$s4main14MyGenericClassCMF'
444 - '_$s4main7MyClassCfD'
445 - '_$s4main14MyGenericClassCfD'
446 - _symbolic _____ 4main7MyClassC
447 - _symbolic _____ 4main14MyGenericClassC
448 - _symbolic _____yxG 4main14MyGenericClassC
449 - '_$s4main15MyGenericStructVACyxGycfC'
450 - '_$s4main8MyStructVACycfC'
451 - '_$s4main11ConformanceVACycfC'
452 - '_$s4main11ConformanceV5innerACSi_tcfC'
453 - '_$s4main7MyClassC1i2ms2meACSi_AA0B6StructVAA0B4EnumOtcfC'
454 - '_$s4main14MyGenericClassC1t1i3mgs3mgeACyxGx_5InnerQzAA0bC6StructVyxGAA0bC4EnumOyxGtcfC'
455 - '_$s4main6MyEnumOMB'
456 - '_$s4main16makeSomeClosures1tyycx_tAA10MyProtocolRzlFyycfU_TA'
457 - '_$s4main11ConformanceVAA10MyProtocolAAMA'
476 - _swift_initClassMetadata2
484 - '_$s4main11ConformanceV5innerSivM.resume.0'