Skip to content

Commit 8f7496b

Browse files
[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.
1 parent 9d531c2 commit 8f7496b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/docs/CommandGuide/llvm-mc.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,16 @@ End-user Options
138138
.. option:: --print-imm-hex
139139

140140
Prefer hex format for immediate values.
141-
For example, on x86 targets --output-asm-variant=0 prints in AT&T syntax, and --output-asm-variant=1 prints in
142-
Intel/MASM syntax.
143141

144142
.. option:: --preserve-comments
145143

146144
Preserve Comments in outputted assembly.
147145

148146
.. option:: --output-asm-variant=<uint>
149147

150-
Syntax variant to use for output printing.
151-
148+
Syntax variant to use for output printing. For example, on x86 targets
149+
--output-asm-variant=0 prints in AT&T syntax, and --output-asm-variant=1 prints
150+
in Intel/MASM syntax.
152151

153152
.. option:: --compress-debug-sections=[none|zlib|zstd]
154153

0 commit comments

Comments
 (0)