b361df5355534f98bf31b94e3b584ad2d56b43b1
[oota-llvm.git] / test / Object / nm-shared-object.test
1 RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-i386 \
2 RUN:         | FileCheck %s -check-prefix ELF
3 RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-x86-64 \
4 RUN:         | FileCheck %s -check-prefix ELF
5
6 ; Note: tls_sym should be 'D' (not '?'), but TLS is not
7 ; yet recognized by ObjectFile.
8
9 ELF: {{[0-9a-f]+}} A __bss_start
10 ELF: {{[0-9a-f]+}} A _edata
11 ELF: {{[0-9a-f]+}} A _end
12 ELF: {{[0-9a-f]+}} B common_sym
13 ELF: {{[0-9a-f]+}} D defined_sym
14 ELF: {{[0-9a-f]+}} T global_func
15 ELF:               ? tls_sym