Michael J. Spencer | dfa1896 | 2012-02-28 00:40:37 +0000 | [diff] [blame] | 1 | RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-i386 \ |
Alexey Samsonov | 01fa41a | 2012-09-21 07:08:08 +0000 | [diff] [blame^] | 2 | RUN: | FileCheck %s -check-prefix ELF-32 |
Michael J. Spencer | dfa1896 | 2012-02-28 00:40:37 +0000 | [diff] [blame] | 3 | RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-x86-64 \ |
Alexey Samsonov | 01fa41a | 2012-09-21 07:08:08 +0000 | [diff] [blame^] | 4 | RUN: | FileCheck %s -check-prefix ELF-64 |
Michael J. Spencer | dfa1896 | 2012-02-28 00:40:37 +0000 | [diff] [blame] | 5 | |
| 6 | ; Note: tls_sym should be 'D' (not '?'), but TLS is not |
| 7 | ; yet recognized by ObjectFile. |
| 8 | |
Alexey Samsonov | 01fa41a | 2012-09-21 07:08:08 +0000 | [diff] [blame^] | 9 | ELF-32: 0012c8 A __bss_start |
| 10 | ELF-32: 0012c8 A _edata |
| 11 | ELF-32: 0012cc A _end |
| 12 | ELF-32: 0012c8 B common_sym |
| 13 | ELF-32: 0012c4 D defined_sym |
| 14 | ELF-32: 0001f0 T global_func |
| 15 | ELF-32: ? tls_sym |
| 16 | |
| 17 | ELF-64: 200454 A __bss_start |
| 18 | ELF-64: 200454 A _edata |
| 19 | ELF-64: 200458 A _end |
| 20 | ELF-64: 200454 B common_sym |
| 21 | ELF-64: 200450 D defined_sym |
| 22 | ELF-64: 0002f0 T global_func |
| 23 | ELF-64: ? tls_sym |