llvm-project/llvm/test/tools/llvm-lipo/archs-macho-binary-unknown....

16 lines
392 B
Plaintext

# RUN: yaml2obj %s -o %t
# Tests that the output for an unknown architecture is the same as cctools lipo
# RUN: llvm-lipo %t -archs | FileCheck %s
# CHECK: unknown(151,3)
--- !mach-o
FileHeader:
magic: 0xFEEDFACE
cputype: 0x00000097
cpusubtype: 0x00000003
filetype: 0x00000001
ncmds: 0
sizeofcmds: 0
flags: 0x00002000
...