brintos

brintos / llvm-project-archived public Read only

0
0
Text · 861 B · 07297cc Raw
15 lines · plain
1# RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o2 3# RUN: not llvm-lipo %t-universal.o -extract arm64_32 -output /dev/null 2>&1 | FileCheck --check-prefix=ARCH_NOT_IN_FILE %s4# ARCH_NOT_IN_FILE: does not contain the specified architecture arm64_325 6# RUN: yaml2obj %p/Inputs/i386-slice.yaml -o %t-i386.o7# RUN: not llvm-lipo %t-i386.o -extract arm64_32 -output /dev/null 2>&1 | FileCheck --check-prefix=INPUT_NOT_A_FAT_FILE %s8# INPUT_NOT_A_FAT_FILE: must be a fat file when the -extract option is specified9 10# RUN: llvm-lipo -create %t-i386.o -output %t-i386-universal.o11# RUN: llvm-lipo -extract i386 %t-universal.o -output %t-i386-universal-extracted.o12# RUN: cmp %t-i386-universal.o %t-i386-universal-extracted.o13# RUN: llvm-lipo -thin i386 %t-i386-universal-extracted.o -output %t-i386-thinned.o14# RUN: cmp %t-i386.o %t-i386-thinned.o15