[llvm] [llvm-objdump] Add the --visualize-jumps option (PR #74858)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 03:17:37 PST 2023


ostannard wrote:

> I gave this a quick shot for RISCV and it didn't work, though RISCV does subclass MCInstrAnalysis. Is there more to this than just implementing that class? Can you update the description to better document what else might be missing for other architectures?

I think that's the only target-specific code I've relied on. This is all in llvm-objdump.cpp:collectLocalBranchTargets, which is shared with the `--symbolize-operands` option, does that work with RISCV?

> Thumb2 code wasn't working. Can I send you an object file?

One of the test files is Thumb2, but I'll look at your object file and see if there's something which prevents this working.

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


More information about the llvm-commits mailing list