[PATCH] D130902: [llvm-objdump,ARM] Fix big-endian AArch32 disassembly.

David Spickett via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 07:54:11 PDT 2022


DavidSpickett added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARM.td:748
+    "BigEndianInstructions", "true", "Expect instructions to be stored "
+    "big-endian in memory.">;
+
----------------
When you say "in memory" here, does it refer to "memory" on the device or "memory" in the object file? I think from the last sentence, you mean inside the object file, which is what objdump cares about.

Because if I had an object file that was going to be byte reversed by the linker then I'd need to disassemble the object file in one endian, but if I was disassembling the content of memory on the device. I'd have to use the opposite endian.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130902



More information about the llvm-commits mailing list