Home | History | Annotate | Download | only in Object
      1 #
      2 # Check if the index is appearing properly in the output file
      3 #
      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.
      7 #
      8 RUN: llvm-nm -a --numeric-sort -M %p/Inputs/coff_archive_short.lib | FileCheck -check-prefix=CHECKIDX %s
      9 
     10 CHECKIDX: Archive map
     11 CHECKIDX: _shortfn1 in short1.obj
     12 CHECKIDX: _shortfn2 in short2.obj
     13 CHECKIDX: short1.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
     20 CHECKIDX: short2.obj:
     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
     27