xref: /aosp_15_r20/external/llvm/test/ObjectYAML/MachO/mach_header.yaml (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: yaml2obj %s | obj2yaml | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker--- !mach-o
4*9880d681SAndroid Build Coastguard WorkerFileHeader:      
5*9880d681SAndroid Build Coastguard Worker  magic:           0xFEEDFACE
6*9880d681SAndroid Build Coastguard Worker  cputype:         0x00000007
7*9880d681SAndroid Build Coastguard Worker  cpusubtype:      0x80000003
8*9880d681SAndroid Build Coastguard Worker  filetype:        0x00000002
9*9880d681SAndroid Build Coastguard Worker  ncmds:           0
10*9880d681SAndroid Build Coastguard Worker  sizeofcmds:      0
11*9880d681SAndroid Build Coastguard Worker  flags:           0x00218085
12*9880d681SAndroid Build Coastguard Worker...
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker# CHECK: --- !mach-o
15*9880d681SAndroid Build Coastguard Worker# CHECK: FileHeader:
16*9880d681SAndroid Build Coastguard Worker# CHECK:   magic:           0xFEEDFACE
17*9880d681SAndroid Build Coastguard Worker# CHECK:   cputype:         0x00000007
18*9880d681SAndroid Build Coastguard Worker# CHECK:   cpusubtype:      0x80000003
19*9880d681SAndroid Build Coastguard Worker# CHECK:   filetype:        0x00000002
20*9880d681SAndroid Build Coastguard Worker# CHECK:   ncmds:           0
21*9880d681SAndroid Build Coastguard Worker# CHECK:   sizeofcmds:      0
22*9880d681SAndroid Build Coastguard Worker# CHECK:   flags:           0x00218085
23*9880d681SAndroid Build Coastguard Worker# CHECK-NOT: reserved:
24*9880d681SAndroid Build Coastguard Worker# CHECK: ...
25