mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
dfa1896b6b
Add -D option to llvm-nm to dump dynamic symbols. Patch by David Meyer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151600 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
510 B
Plaintext
16 lines
510 B
Plaintext
RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-i386 \
|
|
RUN: | FileCheck %s -check-prefix ELF
|
|
RUN: llvm-nm -D %p/Inputs/shared-object-test.elf-x86-64 \
|
|
RUN: | FileCheck %s -check-prefix ELF
|
|
|
|
; Note: tls_sym should be 'D' (not '?'), but TLS is not
|
|
; yet recognized by ObjectFile.
|
|
|
|
ELF: {{[0-9a-f]+}} A __bss_start
|
|
ELF: {{[0-9a-f]+}} A _edata
|
|
ELF: {{[0-9a-f]+}} A _end
|
|
ELF: {{[0-9a-f]+}} B common_sym
|
|
ELF: {{[0-9a-f]+}} D defined_sym
|
|
ELF: {{[0-9a-f]+}} T global_func
|
|
ELF: ? tls_sym
|