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
6 ; Note: tls_sym should be 'D' (not '?'), but TLS is not
7 ; yet recognized by ObjectFile.
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