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 Worker# coff_archive_short.lib does not have member whose name is longer 5*9880d681SAndroid Build Coastguard Worker# than 15 characters, thus, unlike coff_archive.lib, it has no string 6*9880d681SAndroid Build Coastguard Worker# table as the third member. 7*9880d681SAndroid Build Coastguard Worker# 8*9880d681SAndroid Build Coastguard WorkerRUN: llvm-nm -a --numeric-sort -M %p/Inputs/coff_archive_short.lib | FileCheck -check-prefix=CHECKIDX %s 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard WorkerCHECKIDX: Archive map 11*9880d681SAndroid Build Coastguard WorkerCHECKIDX: _shortfn1 in short1.obj 12*9880d681SAndroid Build Coastguard WorkerCHECKIDX: _shortfn2 in short2.obj 13*9880d681SAndroid Build Coastguard WorkerCHECKIDX: short1.obj: 14*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 N .debug$S 15*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 i .drectve 16*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 t .text 17*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 T _shortfn1 18*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000001 a @feat.00 19*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00aa9d1b a @comp.id 20*9880d681SAndroid Build Coastguard WorkerCHECKIDX: short2.obj: 21*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 N .debug$S 22*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 i .drectve 23*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 t .text 24*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000000 T _shortfn2 25*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00000001 a @feat.00 26*9880d681SAndroid Build Coastguard WorkerCHECKIDX: 00aa9d1b a @comp.id 27