2016-06-28 03:53:53 +08:00
|
|
|
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
2016-05-13 01:44:48 +08:00
|
|
|
|
|
|
|
--- !mach-o
|
|
|
|
FileHeader:
|
|
|
|
magic: 0xFEEDFACF
|
|
|
|
cputype: 0x01000007
|
|
|
|
cpusubtype: 0x80000003
|
|
|
|
filetype: 0x00000002
|
|
|
|
ncmds: 0
|
|
|
|
sizeofcmds: 0
|
|
|
|
flags: 0x00218085
|
2016-05-13 02:21:09 +08:00
|
|
|
reserved: 0x00000000
|
2016-05-13 01:44:48 +08:00
|
|
|
...
|
|
|
|
|
|
|
|
# CHECK: --- !mach-o
|
|
|
|
# CHECK: FileHeader:
|
|
|
|
# CHECK: magic: 0xFEEDFACF
|
|
|
|
# CHECK: cputype: 0x01000007
|
|
|
|
# CHECK: cpusubtype: 0x80000003
|
|
|
|
# CHECK: filetype: 0x00000002
|
|
|
|
# CHECK: ncmds: 0
|
|
|
|
# CHECK: sizeofcmds: 0
|
|
|
|
# CHECK: flags: 0x00218085
|
2016-05-13 02:21:09 +08:00
|
|
|
# CHECK: reserved: 0x00000000
|
2016-05-13 01:44:48 +08:00
|
|
|
# CHECK: ...
|