[llvm] [llvm-mc] Add --hex to disassemble hex pairs (PR #119992)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 14 18:38:52 PST 2024


================
@@ -92,6 +92,11 @@ End-user Options
 
  Generate DWARF debugging info for assembly source files.
 
+.. option:: --hex
+
+ Take hex pairs as input for the disassembler.
+ Whitespace is ignored.
+
----------------
s-barannikov wrote:

It looks like "hexpair" is a term invented by radare/rizin and is not used anywhere else.
"hex pair" (with a space) is even less popular, google shows less than ten pages.
How about just "hex bytes"?

(I'm not nitpicking, I actually had to look at the implementation to understand what it means.)


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


More information about the llvm-commits mailing list