aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CommandGuide/llvm-objdump.rst5
-rw-r--r--llvm/docs/llvm-objdump.14
2 files changed, 9 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst
index e4f063b..4acb048 100644
--- a/llvm/docs/CommandGuide/llvm-objdump.rst
+++ b/llvm/docs/CommandGuide/llvm-objdump.rst
@@ -167,6 +167,11 @@ OPTIONS
When disassembling, do not print the raw bytes of each instruction.
+.. option:: --prefix=<prefix>
+
+ When disassembling with the :option:`--source` option, prepend ``prefix`` to
+ absolute paths.
+
.. option:: --print-imm-hex
Use hex format when printing immediate values in disassembly output.
diff --git a/llvm/docs/llvm-objdump.1 b/llvm/docs/llvm-objdump.1
index 85c40d7..1cf557d 100644
--- a/llvm/docs/llvm-objdump.1
+++ b/llvm/docs/llvm-objdump.1
@@ -105,6 +105,10 @@ Print no leading address.
Print no leading headers.
.It Fl -no-show-raw-insn
When disassembling instructions, do not print the instruction bytes.
+.It Fl -prefix Ns = Ns Ar PREFIX
+When disassembling, add
+.Ar PREFIX
+to absolute paths.
.It Fl -print-imm-hex
Use hex format for immediate values.
.It Fl -private-header