[PATCH] D105980: [ARM][llvm-objdump] Annotate PC-relative memory operands of VLDR instructions

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 23:45:37 PDT 2021


ikudrin added inline comments.


================
Comment at: llvm/test/tools/llvm-objdump/ELF/ARM/literal-vldr-thumb2.s:4
+@ RUN: llvm-mc %s -triple=thumbv8a --mattr=+fullfp16 -filetype=obj | \
+@ RUN:   llvm-objdump -d --no-show-raw-insn --triple=thumbv8a --mattr=+fullfp16 - | \
+@ RUN:   FileCheck %s
----------------
MaskRay wrote:
> llvm-objdump can detect the triple, so you can omit --triple
For some reason, if `--triple` is omitted, `llvm-objdump` fails to disassemble some instructions. In this test file, it can't handle `nop`, which breaks all instructions that follow.


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

https://reviews.llvm.org/D105980



More information about the llvm-commits mailing list