llvm/test/Object/simple-archive.test
Kevin Enderby e3108d31e0 Changed the lvm-nm alias "-s" for -print-armap to "-M".
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
2014-07-08 23:47:31 +00:00

13 lines
369 B
Plaintext

#
# Check if the index is appearing properly in the output file
#
RUN: llvm-nm -M %p/Inputs/libsimple_archive.a | FileCheck -check-prefix=CHECKIDX %s
CHECKIDX: Archive map
CHECKIDX: abcdefghijklmnopqrstuvwxyz12345678 in 1.o
CHECKIDX: main in 1.o
CHECKIDX: 1.o:
CHECKIDX: 00000000 D abcdefghijklmnopqrstuvwxyz12345678
CHECKIDX: U fn1
CHECKIDX: 00000000 T main