32 lines · plain
1# RUN: yaml2obj %s -o %t2 3# RUN: llvm-lipo %t -verify_arch i3864# RUN: llvm-lipo %t --verify_arch i3865 6# RUN: not llvm-lipo %t -verify_arch aarch647# RUN: not llvm-lipo %t -verify_arch aarch64 i3868 9# INVALID_ARCH: Invalid architecture: aarch10110# RUN: not llvm-lipo %t -verify_arch aarch101 2>&1 | FileCheck --check-prefix=INVALID_ARCH %s11 12# INVALID_OBJ: The file was not recognized as a valid object file13# RUN: touch %t.empty14# RUN: not llvm-lipo %t.empty -verify_arch aarch101 2>&1 | FileCheck --check-prefix=INVALID_OBJ %s15 16# NO_INPUT_OBJ: at least one input file should be specified17# RUN: not llvm-lipo -verify_arch i386 2>&1 | FileCheck --check-prefix=NO_INPUT_OBJ %s18 19# MULTIPLE_INPUT_OBJ: verify_arch expects a single input file20# RUN: not llvm-lipo %t %t -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_INPUT_OBJ %s21 22--- !mach-o23FileHeader:24 magic: 0xFEEDFACE25 cputype: 0x0000000726 cpusubtype: 0x0000000327 filetype: 0x0000000128 ncmds: 029 sizeofcmds: 030 flags: 0x0000200031...32