1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
58 - cmd: LC_DYLD_INFO_ONLY
96 - cmd: LC_LOAD_DYLINKER
99 PayloadString: /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 PayloadString: '/usr/lib/libc++.1.dylib'
129 current_version: 80349697
130 compatibility_version: 65536
131 PayloadString: /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
218 #CHECK: - 0x0000000000000028
219 #CHECK: - Opcode: REBASE_OPCODE_DO_REBASE_ULEB_TIMES
222 #CHECK: - 0x000000000000000F
223 #CHECK: - Opcode: REBASE_OPCODE_DONE
226 #CHECK: - Opcode: BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
229 #CHECK: - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
231 #CHECK: Symbol: __ZNSt3__14coutE
232 #CHECK: - Opcode: BIND_OPCODE_SET_TYPE_IMM
235 #CHECK: - Opcode: BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
237 #CHECK: ULEBExtraData:
238 #CHECK: - 0x0000000000000000
240 #CHECK: - Opcode: BIND_OPCODE_DO_BIND
243 #CHECK: - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
245 #CHECK: Symbol: __ZNSt3__15ctypeIcE2idE
246 #CHECK: - Opcode: BIND_OPCODE_DO_BIND
249 #CHECK: - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
251 #CHECK: Symbol: ___gxx_personality_v0
252 #CHECK: - Opcode: BIND_OPCODE_DO_BIND
255 #CHECK: - Opcode: BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
258 #CHECK: - Opcode: BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM
260 #CHECK: Symbol: dyld_stub_binder
261 #CHECK: - Opcode: BIND_OPCODE_DO_BIND
264 #CHECK: - Opcode: BIND_OPCODE_DONE