1RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-i386 \
2RUN:         | FileCheck %s -check-prefix ELF-32
3RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-x86-64 \
4RUN:         | FileCheck %s -check-prefix ELF-64
5
6; Note: tls_sym should be 'D' (not '?'), but TLS is not
7; yet recognized by ObjectFile.
8
9ELF-32: 0012c8 A __bss_start
10ELF-32: 0012c8 A _edata
11ELF-32: 0012cc A _end
12ELF-32: 0012c8 B common_sym
13ELF-32: 0012c4 D defined_sym
14ELF-32: 0001f0 T global_func
15ELF-32:        ? tls_sym
16
17ELF-64: 200454 A __bss_start
18ELF-64: 200454 A _edata
19ELF-64: 200458 A _end
20ELF-64: 200454 B common_sym
21ELF-64: 200450 D defined_sym
22ELF-64: 0002f0 T global_func
23ELF-64:        ? tls_sym
24