mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
6965d51be7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311296 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
667 B
Plaintext
29 lines
667 B
Plaintext
Test the 'd' operation in llvm-ar
|
|
|
|
RUN: rm -rf %t && mkdir -p %t && cd %t
|
|
|
|
RUN: rm -f %t.a
|
|
RUN: cp %p/Inputs/GNU.a %t.a
|
|
RUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
|
|
RUN: llvm-ar t %t.a | FileCheck %s
|
|
|
|
RUN: rm -f %t.a
|
|
RUN: cp %p/Inputs/MacOSX.a %t.a
|
|
RUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
|
|
RUN: llvm-ar t %t.a | FileCheck %s
|
|
|
|
RUN: rm -f %t.a
|
|
RUN: cp %p/Inputs/SVR4.a %t.a
|
|
RUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
|
|
RUN: llvm-ar t %t.a | FileCheck %s
|
|
|
|
RUN: rm -f %t.a
|
|
RUN: cp %p/Inputs/xpg4.a %t.a
|
|
RUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
|
|
RUN: llvm-ar t %t.a | FileCheck %s
|
|
|
|
|
|
CHECK: evenlen
|
|
CHECK-NEXT: oddlen
|
|
CHECK-NEXT: IsNAN.o
|