51 lines · plain
1# Executable testing is not supported on Windows, since all files are considered executable2# UNSUPPORTED: system-windows3# RUN: yaml2obj %s -o %t-universal.o4 5# RUN: chmod a-x %t-universal.o6# RUN: llvm-lipo %t-universal.o -thin i386 -output %t32.o7# RUN: test ! -x %t32.o8 9# RUN: chmod a+x %t-universal.o10# RUN: llvm-lipo %t-universal.o -thin i386 -output %t32-ex.o11# RUN: test -x %t32-ex.o12 13 14 15--- !fat-mach-o16FatHeader:17 magic: 0xCAFEBABE18 nfat_arch: 219FatArchs:20 - cputype: 0x0000000721 cpusubtype: 0x0000000322 offset: 0x000000000000100023 size: 2824 align: 1225 - cputype: 0x0100000726 cpusubtype: 0x0000000327 offset: 0x000000000000200028 size: 3229 align: 1230Slices:31 - !mach-o32 FileHeader:33 magic: 0xFEEDFACE34 cputype: 0x0000000735 cpusubtype: 0x0000000336 filetype: 0x0000000137 ncmds: 038 sizeofcmds: 039 flags: 0x0000200040 - !mach-o41 FileHeader:42 magic: 0xFEEDFACF43 cputype: 0x0100000744 cpusubtype: 0x0000000345 filetype: 0x0000000146 ncmds: 047 sizeofcmds: 048 flags: 0x0000200049 reserved: 0x0000000050...51