2013-07-11 13:24:27 +00:00
|
|
|
Test the 'd' operation in llvm-ar
|
|
|
|
|
|
|
|
REQUIRES: shell
|
|
|
|
|
|
|
|
RUN: cd %T
|
|
|
|
|
2013-07-11 13:31:38 +00:00
|
|
|
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
|
2013-07-11 13:24:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
CHECK: evenlen
|
|
|
|
CHECK-NEXT: oddlen
|
|
|
|
CHECK-NEXT: IsNAN.o
|