Adding changes to support GNU style archive library reading

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Shankar Easwaran
2012-11-13 18:38:42 +00:00
parent f741482387
commit 206252cc9f
9 changed files with 431 additions and 26 deletions

View File

@ -0,0 +1,12 @@
#
# Check if the index is appearing properly in the output file
#
RUN: llvm-nm -s %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