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