2 # Check if the index is appearing properly in the output file
4 # coff_archive_short.lib does not have member whose name is longer
5 # than 15 characters, thus, unlike coff_archive.lib, it has no string
6 # table as the third member.
8 RUN: llvm-nm -a --numeric-sort -M %p/Inputs/coff_archive_short.lib | FileCheck -check-prefix=CHECKIDX %s
11 CHECKIDX: _shortfn1 in short1.obj
12 CHECKIDX: _shortfn2 in short2.obj
14 CHECKIDX: 00000000 N .debug$S
15 CHECKIDX: 00000000 i .drectve
16 CHECKIDX: 00000000 t .text
17 CHECKIDX: 00000000 T _shortfn1
18 CHECKIDX: 00000001 a @feat.00
19 CHECKIDX: 00aa9d1b a @comp.id
21 CHECKIDX: 00000000 N .debug$S
22 CHECKIDX: 00000000 i .drectve
23 CHECKIDX: 00000000 t .text
24 CHECKIDX: 00000000 T _shortfn2
25 CHECKIDX: 00000001 a @feat.00
26 CHECKIDX: 00aa9d1b a @comp.id