Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-readobj / MachO / needed-libs.test
blobe97e490dbb075a76b855a26b28d8debd56ea095f
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-readobj --needed-libs %t.o | FileCheck %s
4 # CHECK:      NeededLibraries [
5 # CHECK-NEXT:   /usr/lib/libSystem.B.dylib
6 # CHECK-NEXT: ]
8 !mach-o
9 FileHeader:
10   magic:           0xFEEDFACF
11   cputype:         0x01000007
12   cpusubtype:      0x00000003
13   filetype:        0x00000001
14   ncmds:           1
15   sizeofcmds:      56
16   flags:           0x00002000
17   reserved:        0x00000000
18 LoadCommands:
19   - cmd:             LC_LOAD_DYLIB
20     cmdsize:         56
21     dylib:
22       name:            24
23       timestamp:       2
24       current_version: 81985536
25       compatibility_version: 65536
26     Content:         /usr/lib/libSystem.B.dylib