summaryrefslogtreecommitdiff
path: root/test/Object/archive-delete.test
blob: 779b3efcf6ae61ca2ad006a027ca761058f6dac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Test the 'd' operation in llvm-ar

REQUIRES: shell

RUN: cd %T

RUN: rm -f test.a
RUN: cp %p/Inputs/GNU.a test.a
RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
RUN: llvm-ar t test.a | FileCheck %s

RUN: rm -f test.a
RUN: cp %p/Inputs/MacOSX.a test.a
RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
RUN: llvm-ar t test.a | FileCheck %s

RUN: rm -f test.a
RUN: cp %p/Inputs/SVR4.a test.a
RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
RUN: llvm-ar t test.a | FileCheck %s

RUN: rm -f test.a
RUN: cp %p/Inputs/xpg4.a test.a
RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
RUN: llvm-ar t test.a | FileCheck %s


CHECK: evenlen
CHECK-NEXT: oddlen
CHECK-NEXT: IsNAN.o