[llvm] [RISCV][llvm-objdump] Support --symbolize-operands (PR #166656)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 23 01:03:38 PST 2026


lenary wrote:

I did some updates.

When using external symbols, they look strange in the output because
printing the target doesn't take into account the relocations on the
instruction.

Otherwise, this seems to mostly cope with random offsets etc. The only
thing I noted that didn't work was if you have a branch into the middle of an instruction, then you get a `<Lx>` label in the operand, but not printed on the left because there's no way to print a label halfway through an instruction. I don't think other targets really handle this either.

https://github.com/llvm/llvm-project/pull/166656


More information about the llvm-commits mailing list