diff options
author | Daniel Thornburgh <mysterymath@gmail.com> | 2022-10-28 20:09:09 -0700 |
---|---|---|
committer | Daniel Thornburgh <mysterymath@gmail.com> | 2022-10-30 13:36:18 -0700 |
commit | cc2457ca1bbdddefc09d72f889bc0389c90a831e (patch) | |
tree | 49215eb0a90bc0b180e8e1714b90baff45eb5b44 /llvm/docs/CommandGuide/llvm-objdump.rst | |
parent | 19ac69320846e6d741edddff422985e0e39492f2 (diff) | |
download | llvm-cc2457ca1bbdddefc09d72f889bc0389c90a831e.zip llvm-cc2457ca1bbdddefc09d72f889bc0389c90a831e.tar.gz llvm-cc2457ca1bbdddefc09d72f889bc0389c90a831e.tar.bz2 |
[llvm-objdump] Set --print-imm-hex by default.
This was previously attempted in 2016 by colinl's D18770, but LLD tests
were missed, which caused the change to be reverted.
Setting --print-imm-hex by default brings llvm-objdump's behavior closer
in line with objdump, and it makes it easier to read addresses and
alignment from the disassembly. It may make non-address immediates
harder to interpret, but it still seems the better default, barring more
context-sensitive base selection logic.
Differential Revision: https://reviews.llvm.org/D136972
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-objdump.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-objdump.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst index 65a26bb..0be440c 100644 --- a/llvm/docs/CommandGuide/llvm-objdump.rst +++ b/llvm/docs/CommandGuide/llvm-objdump.rst @@ -196,7 +196,7 @@ OPTIONS .. option:: --no-print-imm-hex - Do not use hex format for immediate values in disassembly output (default). + Do not use hex format for immediate values in disassembly output. .. option:: --no-show-raw-insn @@ -219,7 +219,7 @@ OPTIONS .. option:: --print-imm-hex - Use hex format when printing immediate values in disassembly output. + Use hex format when printing immediate values in disassembly output (default). .. option:: -S, --source |