diff options
author | Fangrui Song <i@maskray.me> | 2022-06-30 11:17:55 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-30 11:17:56 -0700 |
commit | 275862c75d9f203903b8bda2c41bd2d1e1efe885 (patch) | |
tree | 44d2c736d811c65726168b2e3de914225d4d2738 /llvm/docs/CommandGuide/llvm-objdump.rst | |
parent | 89e7e59621bfd899beaac76f9066e731df5e6d20 (diff) | |
download | llvm-275862c75d9f203903b8bda2c41bd2d1e1efe885.zip llvm-275862c75d9f203903b8bda2c41bd2d1e1efe885.tar.gz llvm-275862c75d9f203903b8bda2c41bd2d1e1efe885.tar.bz2 |
[llvm-objdump] Default to --mattr=+all for AArch64
GNU objdump disassembles all unknown instructions by default. Match this user
friendly behavior with the target feature "all" (D128029) designed for disassemblers.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D128030
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-objdump.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-objdump.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst index bab83c09..7d2bae7 100644 --- a/llvm/docs/CommandGuide/llvm-objdump.rst +++ b/llvm/docs/CommandGuide/llvm-objdump.rst @@ -27,7 +27,11 @@ combined with other commands: .. option:: -d, --disassemble - Disassemble all executable sections found in the input files. + Disassemble all executable sections found in the input files. On some + architectures (AArch64, x86), all known instructions are disassembled by + default. On the others, :option:`--mcpu` or :option:`--mattr` is needed to + enable some instruction sets. Disabled instructions are displayed as + ``<unknown>``. .. option:: -D, --disassemble-all |