1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
58 - cmd: LC_DYLD_INFO_ONLY
96 - cmd: LC_LOAD_DYLINKER
99 Content: /usr/lib/dyld
103 uuid: 461A1B28-822F-3F38-B670-645419E636F5
104 - cmd: LC_VERSION_MIN_MACOSX
108 - cmd: LC_SOURCE_VERSION
120 current_version: 7864576
121 compatibility_version: 65536
122 Content: '/usr/lib/libc++.1.dylib'
129 current_version: 80349697
130 compatibility_version: 65536
131 Content: /usr/lib/libSystem.B.dylib
133 - cmd: LC_FUNCTION_STARTS
137 - cmd: LC_DATA_IN_CODE
143 - Opcode: REBASE_OPCODE_SET_TYPE_IMM
145 - Opcode: REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
149 - Opcode: REBASE_OPCODE_DO_REBASE_ULEB_TIMES
153 - Opcode: REBASE_OPCODE_DONE
156 - Opcode: BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
159 - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
161 Symbol: __ZNSt3__14coutE
162 - Opcode: BIND_OPCODE_SET_TYPE_IMM
165 - Opcode: BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
170 - Opcode: BIND_OPCODE_DO_BIND
173 - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
175 Symbol: __ZNSt3__15ctypeIcE2idE
176 - Opcode: BIND_OPCODE_DO_BIND
179 - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
181 Symbol: ___gxx_personality_v0
182 - Opcode: BIND_OPCODE_DO_BIND
185 - Opcode: BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
188 - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
190 Symbol: dyld_stub_binder
191 - Opcode: BIND_OPCODE_DO_BIND
194 - Opcode: BIND_OPCODE_DONE
199 #CHECK: - cmd: LC_DYLD_INFO_ONLY
201 #CHECK: rebase_off: 12384
202 #CHECK: rebase_size: 8
203 #CHECK: bind_off: 12288
204 #CHECK: bind_size: 96
205 #CHECK: weak_bind_off: 0
206 #CHECK: weak_bind_size: 0
207 #CHECK: lazy_bind_off: 12392
208 #CHECK: lazy_bind_size: 624
209 #CHECK: export_off: 13016
210 #CHECK: export_size: 48
211 #CHECK: LinkEditData:
212 #CHECK: RebaseOpcodes:
213 #CHECK: - Opcode: REBASE_OPCODE_SET_TYPE_IMM
215 #CHECK: - Opcode: REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
217 #CHECK: ExtraData: [ 0x28 ]
218 #CHECK: - Opcode: REBASE_OPCODE_DO_REBASE_ULEB_TIMES
220 #CHECK: ExtraData: [ 0xF ]
221 #CHECK: - Opcode: REBASE_OPCODE_DONE
224 #CHECK: - Opcode: BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
227 #CHECK: - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
229 #CHECK: Symbol: __ZNSt3__14coutE
230 #CHECK: - Opcode: BIND_OPCODE_SET_TYPE_IMM
233 #CHECK: - Opcode: BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
235 #CHECK: ULEBExtraData: [ 0x0 ]
237 #CHECK: - Opcode: BIND_OPCODE_DO_BIND
240 #CHECK: - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
242 #CHECK: Symbol: __ZNSt3__15ctypeIcE2idE
243 #CHECK: - Opcode: BIND_OPCODE_DO_BIND
246 #CHECK: - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
248 #CHECK: Symbol: ___gxx_personality_v0
249 #CHECK: - Opcode: BIND_OPCODE_DO_BIND
252 #CHECK: - Opcode: BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
255 #CHECK: - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
257 #CHECK: Symbol: dyld_stub_binder
258 #CHECK: - Opcode: BIND_OPCODE_DO_BIND
261 #CHECK: - Opcode: BIND_OPCODE_DONE