Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-readobj / XCOFF / needed-libs.test
blob3dea70a36879573ffa6307ecead3f0028a9baa83
1 ## In this test we check the --needed-libs option.
3 # RUN: llvm-readobj --needed-libs %p/Inputs/needed-libs-32.o \
4 # RUN:   %p/Inputs/needed-libs-64.o %p/Inputs/needed-libs-empty.o |\
5 # RUN:   FileCheck %s --strict-whitespace --match-full-lines
7 ## Check 32-bit.
9 #      CHECK:NeededLibraries [
10 # CHECK-NEXT:  BASE             MEMBER
11 # CHECK-NEXT:  libc.a           shr.o
12 # CHECK-NEXT:  libpthreads.a    shr_xpg5.o
13 # CHECK-NEXT:  libabcdefghijk.a 
14 # CHECK-NEXT:]
16 ## Check 64-bit.
18 #      CHECK:NeededLibraries [
19 # CHECK-NEXT:  BASE               MEMBER
20 # CHECK-NEXT:  libc.a             shr_64.o
21 # CHECK-NEXT:  libpthreads.a      shr_xpg5_64.o
22 # CHECK-NEXT:  libabcdefghijk64.a 
23 # CHECK-NEXT:]
25 ## Check no lib.
27 #      CHECK:NeededLibraries [
28 # CHECK-NEXT:  BASE          MEMBER
29 # CHECK-NEXT:]