1# RUN: yaml2obj %s | obj2yaml | FileCheck %s 2 3--- !mach-o 4FileHeader: 5 magic: 0xFEEDFACF 6 cputype: 0x01000007 7 cpusubtype: 0x80000003 8 filetype: 0x00000002 9 ncmds: 1 10 sizeofcmds: 32 11 flags: 0x00218085 12 reserved: 0x00000000 13LoadCommands: 14 - cmd: LC_BUILD_VERSION 15 cmdsize: 32 16 platform: 2 17 minos: 0x00080000 18 sdk: 0x00090000 19 ntools: 1 20 Tools: 21 - tool: 1 22 version: 0x00000000 23... 24 25 26CHECK: LoadCommands: 27CHECK: - cmd: LC_BUILD_VERSION 28CHECK-NEXT: cmdsize: 32 29CHECK-NEXT: platform: 2 30CHECK-NEXT: minos: 524288 31CHECK-NEXT: sdk: 589824 32CHECK-NEXT: ntools: 1 33CHECK-NEXT: Tools: 34CHECK-NEXT: - tool: 1 35CHECK-NEXT: version: 0 36