coff-archive-short.test 830 B

1234567891011121314151617181920212223242526
  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. CHECKIDX: Archive map
  10. CHECKIDX: _shortfn1 in short1.obj
  11. CHECKIDX: _shortfn2 in short2.obj
  12. CHECKIDX: short1.obj:
  13. CHECKIDX: 00000000 N .debug$S
  14. CHECKIDX: 00000000 i .drectve
  15. CHECKIDX: 00000000 t .text
  16. CHECKIDX: 00000000 T _shortfn1
  17. CHECKIDX: 00000001 a @feat.00
  18. CHECKIDX: 00aa9d1b a @comp.id
  19. CHECKIDX: short2.obj:
  20. CHECKIDX: 00000000 N .debug$S
  21. CHECKIDX: 00000000 i .drectve
  22. CHECKIDX: 00000000 t .text
  23. CHECKIDX: 00000000 T _shortfn2
  24. CHECKIDX: 00000001 a @feat.00
  25. CHECKIDX: 00aa9d1b a @comp.id