1# RUN: yaml2obj %s -o %t 2 3# RUN: llvm-lipo %t -verify_arch i386 4# RUN: llvm-lipo %t --verify_arch i386 5 6# RUN: not llvm-lipo %t -verify_arch aarch64 7# RUN: not llvm-lipo %t -verify_arch aarch64 i386 8 9# INVALID_ARCH: Invalid architecture: aarch101 10# RUN: not llvm-lipo %t -verify_arch aarch101 2>&1 | FileCheck --check-prefix=INVALID_ARCH %s 11 12# INVALID_OBJ: The file was not recognized as a valid object file 13# RUN: touch %t.empty 14# RUN: not llvm-lipo %t.empty -verify_arch aarch101 2>&1 | FileCheck --check-prefix=INVALID_OBJ %s 15 16# NO_INPUT_OBJ: at least one input file should be specified 17# RUN: not llvm-lipo -verify_arch i386 2>&1 | FileCheck --check-prefix=NO_INPUT_OBJ %s 18 19# MULTIPLE_INPUT_OBJ: verify_arch expects a single input file 20# RUN: not llvm-lipo %t %t -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_INPUT_OBJ %s 21 22--- !mach-o 23FileHeader: 24 magic: 0xFEEDFACE 25 cputype: 0x00000007 26 cpusubtype: 0x00000003 27 filetype: 0x00000001 28 ncmds: 0 29 sizeofcmds: 0 30 flags: 0x00002000 31... 32