Shankar Easwaran | 206252c | 2012-11-13 18:38:42 +0000 | [diff] [blame] | 1 | # |
Michael J. Spencer | 3fea4ef0 | 2013-01-03 01:24:32 +0000 | [diff] [blame^] | 2 | # Check if the index is appearing properly in the output file |
Shankar Easwaran | 206252c | 2012-11-13 18:38:42 +0000 | [diff] [blame] | 3 | # |
| 4 | RUN: llvm-nm -s %p/Inputs/liblong_filenames.a | FileCheck -check-prefix=CHECKIDX %s |
| 5 | |
| 6 | CHECKIDX: Archive map |
| 7 | CHECKIDX: abcdefghijklmnopqrstuvwxyz12345678 in 1.o |
| 8 | CHECKIDX: main in 1.o |
| 9 | CHECKIDX: fn1 in 2.o |
| 10 | CHECKIDX: fn3 in 3.o |
| 11 | CHECKIDX: fn1 in 3.o |
| 12 | CHECKIDX: shankar in 4.o |
| 13 | CHECKIDX: a in 5.o |
| 14 | CHECKIDX: b in 6.o |
| 15 | CHECKIDX: a in abcdefghijklmnopqrstuvwxyz1.o |
| 16 | CHECKIDX: b in abcdefghijklmnopqrstuvwxyz2.o |
| 17 | CHECKIDX: bda in abcdefghijklmnopqrstuvwxyz2.o |
| 18 | CHECKIDX: b in abcdefghijklmnopq.o |
| 19 | CHECKIDX: 1.o: |
| 20 | CHECKIDX: 00000000 D abcdefghijklmnopqrstuvwxyz12345678 |
| 21 | CHECKIDX: U bda |
| 22 | CHECKIDX: 00000000 T main |
| 23 | CHECKIDX: 2.o: |
| 24 | CHECKIDX: 00000000 T fn1 |
| 25 | CHECKIDX: 3.o: |
| 26 | CHECKIDX: 0000000b T fn1 |
| 27 | CHECKIDX: 00000000 T fn3 |
| 28 | CHECKIDX: 4.o: |
| 29 | CHECKIDX: C shankar |
| 30 | CHECKIDX: 5.o: |
| 31 | CHECKIDX: C a |
| 32 | CHECKIDX: 6.o: |
| 33 | CHECKIDX: C b |
| 34 | CHECKIDX: abcdefghijklmnopqrstuvwxyz1.o: |
| 35 | CHECKIDX: C a |
| 36 | CHECKIDX: abcdefghijklmnopqrstuvwxyz2.o: |
| 37 | CHECKIDX: C b |
| 38 | CHECKIDX: 00000000 T bda |
| 39 | CHECKIDX: abcdefghijklmnopq.o: |
| 40 | CHECKIDX: C b |