forked from OSchip/llvm-project
31 lines
656 B
Plaintext
31 lines
656 B
Plaintext
Test the 'd' operation in llvm-ar
|
|
|
|
REQUIRES: shell
|
|
|
|
RUN: 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
|