1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/Object/archive-long-index.test
Kevin Enderby 2f67f62475 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.

llvm-svn: 212576
2014-07-08 23:47:31 +00:00

41 lines
1.2 KiB
Plaintext

#
# Check if the index is appearing properly in the output file
#
RUN: llvm-nm -M %p/Inputs/liblong_filenames.a | FileCheck -check-prefix=CHECKIDX %s
CHECKIDX: Archive map
CHECKIDX: abcdefghijklmnopqrstuvwxyz12345678 in 1.o
CHECKIDX: main in 1.o
CHECKIDX: fn1 in 2.o
CHECKIDX: fn3 in 3.o
CHECKIDX: fn1 in 3.o
CHECKIDX: shankar in 4.o
CHECKIDX: a in 5.o
CHECKIDX: b in 6.o
CHECKIDX: a in abcdefghijklmnopqrstuvwxyz1.o
CHECKIDX: b in abcdefghijklmnopqrstuvwxyz2.o
CHECKIDX: bda in abcdefghijklmnopqrstuvwxyz2.o
CHECKIDX: b in abcdefghijklmnopq.o
CHECKIDX: 1.o:
CHECKIDX: 0000000000000000 D abcdefghijklmnopqrstuvwxyz12345678
CHECKIDX: U bda
CHECKIDX: 0000000000000000 T main
CHECKIDX: 2.o:
CHECKIDX: 0000000000000000 T fn1
CHECKIDX: 3.o:
CHECKIDX: 000000000000000b T fn1
CHECKIDX: 0000000000000000 T fn3
CHECKIDX: 4.o:
CHECKIDX: C shankar
CHECKIDX: 5.o:
CHECKIDX: C a
CHECKIDX: 6.o:
CHECKIDX: C b
CHECKIDX: abcdefghijklmnopqrstuvwxyz1.o:
CHECKIDX: C a
CHECKIDX: abcdefghijklmnopqrstuvwxyz2.o:
CHECKIDX: C b
CHECKIDX: 0000000000000000 T bda
CHECKIDX: abcdefghijklmnopq.o:
CHECKIDX: C b