summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-lipo/archs-macho-binary.test
blob: 56f913263dac577fb10e8b4fbb9cb2609ea2a75e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# RUN: yaml2obj %s > %t

# RUN: llvm-lipo %t -archs | FileCheck --check-prefix=ARCHS %s
# RUN: llvm-lipo %t --archs | FileCheck --check-prefix=ARCHS %s
# ARCHS: i386

# RUN: not llvm-lipo %t %t -archs 2>&1 | FileCheck --check-prefix=MULTIPLE_INPUT_OBJ %s
# MULTIPLE_INPUT_OBJ: archs expects a single input file

--- !mach-o
FileHeader:
  magic:           0xFEEDFACE
  cputype:         0x00000007
  cpusubtype:      0x00000003
  filetype:        0x00000001
  ncmds:           0
  sizeofcmds:      0
  flags:           0x00002000
...
OpenPOWER on IntegriCloud