[llvm] 8f7496b - [Docs][llvm-mc] Fix location of statement
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 4 13:42:13 PDT 2023
Author: Aiden Grossman
Date: 2023-06-04T20:40:37Z
New Revision: 8f7496b0b106c7e348b87562128073889a6a41df
URL: https://github.com/llvm/llvm-project/commit/8f7496b0b106c7e348b87562128073889a6a41df
DIFF: https://github.com/llvm/llvm-project/commit/8f7496b0b106c7e348b87562128073889a6a41df.diff
LOG: [Docs][llvm-mc] Fix location of statement
The comment moved is referring to the --output-asm-syntax flag rather
than the --print-imm-hex flag, but seems to have mistakenly been put
under the definition of that flag due to some misplaced line numbers on
phabricator.
Added:
Modified:
llvm/docs/CommandGuide/llvm-mc.rst
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/llvm-mc.rst b/llvm/docs/CommandGuide/llvm-mc.rst
index 1ec1370a31cd3..c79f9a96f071a 100644
--- a/llvm/docs/CommandGuide/llvm-mc.rst
+++ b/llvm/docs/CommandGuide/llvm-mc.rst
@@ -138,8 +138,6 @@ End-user Options
.. option:: --print-imm-hex
Prefer hex format for immediate values.
- For example, on x86 targets --output-asm-variant=0 prints in AT&T syntax, and --output-asm-variant=1 prints in
- Intel/MASM syntax.
.. option:: --preserve-comments
@@ -147,8 +145,9 @@ End-user Options
.. option:: --output-asm-variant=<uint>
- Syntax variant to use for output printing.
-
+ Syntax variant to use for output printing. For example, on x86 targets
+ --output-asm-variant=0 prints in AT&T syntax, and --output-asm-variant=1 prints
+ in Intel/MASM syntax.
.. option:: --compress-debug-sections=[none|zlib|zstd]
More information about the llvm-commits
mailing list