xref: /aosp_15_r20/external/llvm/test/Object/archive-delete.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerTest the 'd' operation in llvm-ar
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard WorkerRUN: cd %T
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard WorkerRUN: rm -f %t.a
6*9880d681SAndroid Build Coastguard WorkerRUN: cp %p/Inputs/GNU.a %t.a
7*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
8*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar t %t.a | FileCheck %s
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard WorkerRUN: rm -f %t.a
11*9880d681SAndroid Build Coastguard WorkerRUN: cp %p/Inputs/MacOSX.a %t.a
12*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
13*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar t %t.a | FileCheck %s
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard WorkerRUN: rm -f %t.a
16*9880d681SAndroid Build Coastguard WorkerRUN: cp %p/Inputs/SVR4.a %t.a
17*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
18*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar t %t.a | FileCheck %s
19*9880d681SAndroid Build Coastguard Worker
20*9880d681SAndroid Build Coastguard WorkerRUN: rm -f %t.a
21*9880d681SAndroid Build Coastguard WorkerRUN: cp %p/Inputs/xpg4.a %t.a
22*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar d %t.a very_long_bytecode_file_name.bc
23*9880d681SAndroid Build Coastguard WorkerRUN: llvm-ar t %t.a | FileCheck %s
24*9880d681SAndroid Build Coastguard Worker
25*9880d681SAndroid Build Coastguard Worker
26*9880d681SAndroid Build Coastguard WorkerCHECK: evenlen
27*9880d681SAndroid Build Coastguard WorkerCHECK-NEXT: oddlen
28*9880d681SAndroid Build Coastguard WorkerCHECK-NEXT: IsNAN.o
29