]> granicus.if.org Git - llvm/commit
[llvm-objdump] - Do not include reserved undefined symbol in -t output.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 10 Jan 2019 16:24:10 +0000 (16:24 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 10 Jan 2019 16:24:10 +0000 (16:24 +0000)
commit03e297e48e3b40e4530381e967da6b32c9667b62
treead87d8ce2da84272f71482e0414ec407e0add6b8
parent4a9e2193a3a2420a28ae605a1b7874d0416791db
[llvm-objdump] - Do not include reserved undefined symbol in -t output.

This is https://bugs.llvm.org/show_bug.cgi?id=26892,

GNU objdump hides the special symbol entry:

SYMBOL TABLE:
000000000000a7e0 l     F .text 00000000000003f9 bi_copymodules
while llvm-objdump does not:

SYMBOL TABLE:
0000000000000000         *UND*  00000000
000000000000a7e0 l     F .text  000003f9 bi_copymodules

Patch makes the behavior of the llvm-objdump to be consistent with the GNU objdump.

Differential revision: https://reviews.llvm.org/D56076

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350840 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/X86/demangle.s
test/tools/llvm-objdump/X86/out-of-section-sym.test
test/tools/llvm-objdump/symbol-table-elf.test
tools/llvm-objdump/llvm-objdump.cpp