mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
e3108d31e0
This will allow the "-s" flag to implemented in the future as it is in darwin’s nm(1) to list symbols only in the specified section. Given a LGTM by Shankar Easwaran who originally implemented the support for lvm-nm’s -print-armap and archive map symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212576 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
827 B
Plaintext
27 lines
827 B
Plaintext
#
|
|
# Check if the index is appearing properly in the output file
|
|
#
|
|
# coff_archive_short.lib does not have member whose name is longer
|
|
# than 15 characters, thus, unlike coff_archive.lib, it has no string
|
|
# table as the third member.
|
|
#
|
|
RUN: llvm-nm --numeric-sort -M %p/Inputs/coff_archive_short.lib | FileCheck -check-prefix=CHECKIDX %s
|
|
|
|
CHECKIDX: Archive map
|
|
CHECKIDX: _shortfn1 in short1.obj
|
|
CHECKIDX: _shortfn2 in short2.obj
|
|
CHECKIDX: short1.obj:
|
|
CHECKIDX: 00000000 N .debug$S
|
|
CHECKIDX: 00000000 i .drectve
|
|
CHECKIDX: 00000000 t .text
|
|
CHECKIDX: 00000000 T _shortfn1
|
|
CHECKIDX: 00000001 a @feat.00
|
|
CHECKIDX: 00aa9d1b a @comp.id
|
|
CHECKIDX: short2.obj:
|
|
CHECKIDX: 00000000 N .debug$S
|
|
CHECKIDX: 00000000 i .drectve
|
|
CHECKIDX: 00000000 t .text
|
|
CHECKIDX: 00000000 T _shortfn2
|
|
CHECKIDX: 00000001 a @feat.00
|
|
CHECKIDX: 00aa9d1b a @comp.id
|