xref: /aosp_15_r20/external/llvm/test/Object/simple-archive.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker#
2*9880d681SAndroid Build Coastguard Worker# Check if the index is appearing properly in the output file
3*9880d681SAndroid Build Coastguard Worker#
4*9880d681SAndroid Build Coastguard WorkerRUN: llvm-nm -M %p/Inputs/libsimple_archive.a | FileCheck -check-prefix=CHECKIDX %s
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard WorkerCHECKIDX: Archive map
7*9880d681SAndroid Build Coastguard WorkerCHECKIDX: abcdefghijklmnopqrstuvwxyz12345678 in 1.o
8*9880d681SAndroid Build Coastguard WorkerCHECKIDX: main in 1.o
9*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 1.o:
10*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 D abcdefghijklmnopqrstuvwxyz12345678
11*9880d681SAndroid Build Coastguard WorkerCHECKIDX:          U fn1
12*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 T main
13