[PATCH] D44544: llvm-objdump: Print symbol name if it's address is the same as the next one's

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 15 14:32:42 PDT 2018


kzhuravl created this revision.
kzhuravl added a reviewer: espindola.
Herald added subscribers: javed.absar, nhaehnle, wdng, sdardis.

Currently, if 2 symbols have the same address, the first symbol name is not
printed during disassembly, therefore missing it completely in the disassembled
text. This patch changes it to print first symbol's name in the case described.


https://reviews.llvm.org/D44544

Files:
  test/CodeGen/Thumb/iabs.ll
  test/MC/AMDGPU/labels-with-same-address.s
  test/MC/ARM/elf-movt.s
  test/MC/Mips/set-defined-symbol.s
  test/tools/llvm-objdump/X86/disasm-specific-funcs.test
  test/tools/llvm-objdump/X86/out-of-section-sym.test
  test/tools/llvm-objdump/X86/start-stop-address.test
  tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44544.138629.patch
Type: text/x-patch
Size: 5392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180315/d29ed0e3/attachment.bin>


More information about the llvm-commits mailing list