[llvm] [llvm-objdump] Support --mcpu=help/--mattr=help without -d (PR #165661)

Ruoyu Qiu via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 02:02:10 PST 2025


cabbaken wrote:

Thanks for your reply!

> I experimented briefly with RISC-V inputs and triples too and that follows the same as x86_64. 

I tested a few other architectures (MIPS, RISC-V) as well and found that the ARM results were behaving unexpectedly. That is why I initially thought we needed to modify disassembleObject(). 

> Given this, I think we should use two targets that aren't ARM, e.g. RISCV and x86_64, and avoid ARM targets completely.

I completely agree with your suggestion.

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


More information about the llvm-commits mailing list