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: 5369000001FFFFFFFF002473346D61696E31304D7950726F746F636F6C50000001FFFFFFFF00
76 - sectname: __swift5_reflstr
87 content: 496E6E657200696E6E657200
88 - sectname: __swift5_assocty
99 content: 00000000FCFFFFFF0100000008000000F0FFFFFFECFFFFFF
109 - sectname: __swift5_fieldmd
120 content: 000000000000000000000C000100000002000000ECFFFFFFE8FFFFFF000000000000000000000C0000000000
130 - cmd: LC_BUILD_VERSION
162 - cmd: LC_LINKER_OPTION
165 PayloadBytes: [ 0x2D, 0x6C, 0x73, 0x77, 0x69, 0x66, 0x74, 0x53,
167 - cmd: LC_LINKER_OPTION
170 PayloadBytes: [ 0x2D, 0x6C, 0x73, 0x77, 0x69, 0x66, 0x74, 0x43,
171 0x6F, 0x72, 0x65, 0x0 ]
172 - cmd: LC_LINKER_OPTION
175 PayloadBytes: [ 0x2D, 0x6C, 0x73, 0x77, 0x69, 0x66, 0x74, 0x5F,
176 0x6E, 0x63, 0x79, 0x0 ]
177 - cmd: LC_LINKER_OPTION
180 PayloadBytes: [ 0x2D, 0x6C, 0x6F, 0x62, 0x6A, 0x63, 0x0, 0x0, 0x0,
192 - '_$s4main12Conformance2V5innerSivs'
193 - l_protocol_conformances
194 - l_coro.devirt.trigger
195 - '_$s4main10MyProtocolMp'
196 - ___swift_reflection_version
199 - '_$s4main12Conformance2VMn'
200 - '_$s4main12Conformance2V5innerSivpfi'
202 - l_llvm.swift_module_hash
203 - '_$s4main12Conformance2V5innerSivg'
205 - '_$s4main12Conformance2VMf'
206 - _swift_bridgeObjectRelease
207 - l_type_metadata_table
208 - '_$s4main12Conformance2VAA10MyProtocolAAMc'
211 - '_$s4main12Conformance2VMa'
212 - '_$s4main12Conformance2V5innerACSi_tcfcfA_'
213 - '_$ss5print_9separator10terminatoryypd_S2StFfA1_'
214 - '_$ss5print_9separator10terminatoryypd_S2StFfA0_'
215 - '_$s4main3AppV5$mainyyFZ'
216 - '_$s4main3AppVAAyyFZ'
217 - '_$s4main12Conformance2VAA10MyProtocolA2aDP5inner5InnerQzvgTW'
218 - _symbolic _____ 4main3AppV
221 - '_$s4main12Conformance2V5innerSivpMV'
222 - _symbolic _____ 4main12Conformance2V
223 - '_symbolic $s4main10MyProtocolP'
224 - '_$s4main12Conformance2VAA10MyProtocolAAWP'
227 - '_$s4main12Conformance2VN'
229 - '_$s4main12Conformance2V5innerSivM'
231 - '_$sSa12_endMutationyyF'
232 - '_$ss5print_9separator10terminatoryypd_S2StF'
233 - '_$ss27_allocateUninitializedArrayySayxG_BptBwlF'
234 - '_$ss27_finalizeUninitializedArrayySayxGABnlF'
236 - '_$s4main12Conformance2VMF'
237 - '_$s4main3AppVACycfC'
238 - '_$s4main12Conformance2VACycfC'
239 - '_$s4main12Conformance2V5innerACSi_tcfC'
240 - '_$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC'
241 - '_$s4main12Conformance2VAA10MyProtocolAAMA'
247 - '_$s4main12Conformance2V5innerSivM.resume.0'