[PATCH] D117447: [llvm-objdump] Annotate symbol names under `--symbolize-operands`.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 18 10:18:02 PST 2022


MaskRay added a comment.

To access the relocation information, I'd prefer that the user specifies `-r`:

  88: 01 00 00 48   bl 0x88 <foo+0x48>
            0000000000000088:  R_PPC64_REL24        extern

Without the relocation type information, the 4 addend for `R_PPC64_REL16_LO` may be confusing.

  ; CHECK-NEXT:     c4:       addi 2, 2, 0                    #  <.TOC.+0x4>

PS: ET_EXEC/ET_DYN PowerPC binary has the problem described by https://reviews.llvm.org/D116677#3239375 . If you want to contribute to this area...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117447/new/

https://reviews.llvm.org/D117447



More information about the llvm-commits mailing list