brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · c90b34f Raw
33 lines · plain
1# RUN: yaml2obj %p/Inputs/i386-slice.yaml -o %t-i386.o2# RUN: yaml2obj %p/Inputs/x86_64-slice.yaml -o %t-x86_64.o3 4# RUN: llvm-lipo %t-i386.o %t-x86_64.o -create -output %t-universal-llvm.o5 6# RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml -o %t-universal.o7# RUN: cmp %t-universal-llvm.o %t-universal.o8 9# RUN: yaml2obj %p/Inputs/armv7-slice.yaml -o %t-armv7.o10# RUN: yaml2obj %p/Inputs/arm64-slice.yaml -o %t-arm64.o11 12# RUN: llvm-lipo %t-arm64.o %t-armv7.o %t-universal.o -create -output %t-universal-2.o13# RUN: llvm-lipo %t-universal-2.o -thin x86_64 -output %t-x86_64_extracted.o14# RUN: cmp %t-x86_64_extracted.o %t-x86_64.o15# RUN: llvm-lipo %t-universal-2.o -thin armv7 -output %t-armv7-extracted.o16# RUN: cmp %t-armv7-extracted.o %t-armv7.o17 18# RUN: llvm-objdump %t-universal-2.o -m --universal-headers | FileCheck %s19# CHECK: fat_magic FAT_MAGIC20# CHECK: nfat_arch 421# CHECK: architecture i38622# CHECK: offset 409623# CHECK: align 2^12 (4096)24# CHECK: architecture x86_6425# CHECK: offset 819226# CHECK: align 2^12 (4096)27# CHECK: architecture armv728# CHECK: offset 1638429# CHECK: align 2^14 (16384)30# CHECK: architecture arm6431# CHECK: offset 3276832# CHECK: align 2^14 (16384)33