Reland [XCOFF][llvm-objdump] change the priority of symbols with the same address...
authoresmeyi <esme.yi@ibm.com>
Mon, 21 Feb 2022 02:51:10 +0000 (21:51 -0500)
committeresmeyi <esme.yi@ibm.com>
Mon, 21 Feb 2022 02:51:10 +0000 (21:51 -0500)
commit7b67d2e398861e9f3bdcc991cd0a900aa9c8d740
treea494b3c09ee757365c9b453aa820c066458132c0
parentefe5b8ad904bfb1d9abe6ac7123494b534040238
Reland [XCOFF][llvm-objdump] change the priority of symbols with the same address by symbol types.

Fix the Buildbot failure #19373.

Differential Revision: https://reviews.llvm.org/D117642
15 files changed:
llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h
llvm/include/llvm/Object/ObjectFile.h
llvm/test/CodeGen/PowerPC/aix-prefixed-instruction-boundary.mir
llvm/test/CodeGen/PowerPC/aix-return55.ll
llvm/test/CodeGen/PowerPC/aix-user-defined-memcpy.ll
llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-const.ll
llvm/test/CodeGen/PowerPC/aix-xcoff-reloc-symb.mir
llvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll
llvm/test/CodeGen/PowerPC/aix-xcoff-textdisassembly.ll
llvm/test/tools/llvm-objdump/XCOFF/disassemble-all.test
llvm/test/tools/llvm-objdump/XCOFF/disassemble-symbol-description.test
llvm/test/tools/llvm-objdump/XCOFF/disassemble-symbol-priority.ll [new file with mode: 0644]
llvm/test/tools/llvm-objdump/XCOFF/disassemble-symbolize-operands.ll
llvm/test/tools/llvm-objdump/XCOFF/print-linenumber.test
llvm/tools/llvm-objdump/llvm-objdump.cpp