blob: a57b9401ad42d2b674b27ecfbeda498b0509a06d [file] [log] [blame]
Michael J. Spencerdfa18962012-02-28 00:40:37 +00001RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-i386 \
Alexey Samsonov01fa41a2012-09-21 07:08:08 +00002RUN: | FileCheck %s -check-prefix ELF-32
Michael J. Spencerdfa18962012-02-28 00:40:37 +00003RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-x86-64 \
Alexey Samsonov01fa41a2012-09-21 07:08:08 +00004RUN: | FileCheck %s -check-prefix ELF-64
Michael J. Spencerdfa18962012-02-28 00:40:37 +00005
6; Note: tls_sym should be 'D' (not '?'), but TLS is not
7; yet recognized by ObjectFile.
8
Alexey Samsonov01fa41a2012-09-21 07:08:08 +00009ELF-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