| 1 | --- !mach-o |
| 2 | FileHeader: |
| 3 | magic: 0xFEEDFACF |
| 4 | cputype: 0x100000C |
| 5 | cpusubtype: 0x0 |
| 6 | filetype: 0x5 |
| 7 | ncmds: 0 |
| 8 | sizeofcmds: 0 |
| 9 | flags: 0x1 |
| 10 | reserved: 0x0 |
| 11 | ... |
| 12 | |
| 13 | # RUN: yaml2obj %s > %t |
| 14 | # RUN: not llvm-objcopy %t 2>&1 | FileCheck %s -DFILE=%t |
| 15 | # |
| 16 | # CHECK: error: [[FILE]]: MH_PRELOAD files are not supported |