[llvm] ec2b040 - [llvm-objdump][docs] Fix documentation for offloading flags
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 12:45:14 PDT 2022
Author: Joseph Huber
Date: 2022-07-11T15:44:48-04:00
New Revision: ec2b040e186fd4bbeb326ee7a086b9ab13519a5f
URL: https://github.com/llvm/llvm-project/commit/ec2b040e186fd4bbeb326ee7a086b9ab13519a5f
DIFF: https://github.com/llvm/llvm-project/commit/ec2b040e186fd4bbeb326ee7a086b9ab13519a5f.diff
LOG: [llvm-objdump][docs] Fix documentation for offloading flags
Added:
Modified:
llvm/docs/CommandGuide/llvm-objdump.rst
llvm/docs/llvm-objdump.1
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst
index 7faa85514f9cc..a06e8aeee4ad5 100644
--- a/llvm/docs/CommandGuide/llvm-objdump.rst
+++ b/llvm/docs/CommandGuide/llvm-objdump.rst
@@ -183,6 +183,10 @@ OPTIONS
When disassembling, do not print the raw bytes of each instruction.
+.. option:: --offloading
+
+ Display the content of the LLVM offloading section.
+
.. option:: --prefix=<prefix>
When disassembling with the :option:`--source` option, prepend ``prefix`` to
@@ -378,10 +382,6 @@ MACH-O ONLY OPTIONS AND COMMANDS
Display the Objective-C runtime meta data.
-.. option:: --offloading
-
- Display the content of the LLVM offloading section.
-
.. option:: --private-header
Display only the first format specific file header.
diff --git a/llvm/docs/llvm-objdump.1 b/llvm/docs/llvm-objdump.1
index e81b6499b314a..42dcc73676597 100644
--- a/llvm/docs/llvm-objdump.1
+++ b/llvm/docs/llvm-objdump.1
@@ -105,6 +105,8 @@ 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 -offloading
+Display the content of the LLVM offloading section.
.It Fl -prefix Ns = Ns Ar PREFIX
When disassembling, add
.Ar PREFIX
More information about the llvm-commits
mailing list