[all-commits] [llvm/llvm-project] 2ad662: [XCOFF][llvm-objdump] change the priority of symbo...

Esme via All-commits all-commits at lists.llvm.org
Thu Feb 17 21:30:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ad662172cbbd1ca53489bf8bddb0183d7692708
      https://github.com/llvm/llvm-project/commit/2ad662172cbbd1ca53489bf8bddb0183d7692708
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
    M llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h
    M llvm/include/llvm/Object/ObjectFile.h
    M llvm/test/CodeGen/PowerPC/aix-prefixed-instruction-boundary.mir
    M llvm/test/CodeGen/PowerPC/aix-return55.ll
    M llvm/test/CodeGen/PowerPC/aix-user-defined-memcpy.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-const.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-reloc-symb.mir
    M llvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-textdisassembly.ll
    M llvm/test/tools/llvm-objdump/XCOFF/disassemble-all.test
    M llvm/test/tools/llvm-objdump/XCOFF/disassemble-symbol-description.test
    A llvm/test/tools/llvm-objdump/XCOFF/disassemble-symbol-priority.ll
    M llvm/test/tools/llvm-objdump/XCOFF/disassemble-symbolize-operands.ll
    M llvm/test/tools/llvm-objdump/XCOFF/print-linenumber.test
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [XCOFF][llvm-objdump] change the priority of symbols with
                      the same address by symbol types.

Summary: In XCOFF, each section comes with a default symbol
         with the same name as the section. It doesn't bind
         to code locations and it may cause incorrect display
         of symbol names under `llvm-objdump -d`.
         This patch changes the priority of symbols with the
         same address by symbol type.

Reviewed By: jhenderson, shchenz

Differential Revision: https://reviews.llvm.org/D117642




More information about the All-commits mailing list