xref: /llvm-project/llvm/test/tools/llvm-lipo/archs-macho-binary-unknown.test (revision 55c81d4282c5da0189711261a11537bc8a7fe85c)
1# RUN: yaml2obj %s -o %t
2# Tests that the output for an unknown architecture is the same as cctools lipo
3# RUN: llvm-lipo %t -archs | FileCheck %s
4# CHECK: unknown(151,3)
5
6--- !mach-o
7FileHeader:
8  magic:           0xFEEDFACE
9  cputype:         0x00000097
10  cpusubtype:      0x00000003
11  filetype:        0x00000001
12  ncmds:           0
13  sizeofcmds:      0
14  flags:           0x00002000
15...
16