1 # RUN: yaml2obj %s > %t
3 # RUN: llvm-lipo %t -verify_arch i386
4 # RUN: llvm-lipo %t --verify_arch i386
6 # RUN: not llvm-lipo %t -verify_arch aarch64
7 # RUN: not llvm-lipo %t -verify_arch aarch64 i386
9 # INVALID_ARCH: Invalid architecture: aarch101
10 # RUN: not llvm-lipo %t -verify_arch aarch101 2>&1 | FileCheck --check-prefix=INVALID_ARCH %s
12 # INVALID_OBJ: The file was not recognized as a valid object file
14 # RUN: not llvm-lipo %t.empty -verify_arch aarch101 2>&1 | FileCheck --check-prefix=INVALID_OBJ %s
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
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
26 cpusubtype: 0x00000003