1# RUN: yaml2obj %s -o %t 2 3# RUN: llvm-lipo %t -verify_arch i386 4# RUN: llvm-lipo %t -verify_arch i386 x86_64 5 6# RUN: not llvm-lipo %t -verify_arch aarch64 7# RUN: not llvm-lipo %t -verify_arch arm64 8# RUN: yaml2obj %s | not llvm-lipo - -verify_arch aarch64 i386 9# lipo does not support this (i.e. yaml2obj %s | not lipo -), included to test function with llvm-lipo 10# use the temporary %t when checking tests with lipo 11 12--- !fat-mach-o 13FatHeader: 14 magic: 0xCAFEBABE 15 nfat_arch: 2 16FatArchs: 17 - cputype: 0x00000007 18 cpusubtype: 0x00000003 19 offset: 0x0000000000001000 20 size: 28 21 align: 12 22 - cputype: 0x01000007 23 cpusubtype: 0x00000003 24 offset: 0x0000000000002000 25 size: 32 26 align: 12 27Slices: 28 - !mach-o 29 FileHeader: 30 magic: 0xFEEDFACE 31 cputype: 0x00000007 32 cpusubtype: 0x00000003 33 filetype: 0x00000001 34 ncmds: 0 35 sizeofcmds: 0 36 flags: 0x00002000 37 - !mach-o 38 FileHeader: 39 magic: 0xFEEDFACF 40 cputype: 0x01000007 41 cpusubtype: 0x00000003 42 filetype: 0x00000001 43 ncmds: 0 44 sizeofcmds: 0 45 flags: 0x00002000 46 reserved: 0x00000000 47... 48