7 Commits

Author SHA1 Message Date
Jacob Lambert
f802fed2b5
[NFC] Fix typos in llvm-mc doc (#72457) 2023-11-21 09:53:53 -08:00
Jonas Devlieghere
932a6187b4
[llvm/docs] Fix whitespace and column limit in llvm-mc.rst
- Remove trailing whitespace.
 - Honor 80 cols.
 - Reflow text.
2023-09-01 13:20:39 -07:00
Jonas Devlieghere
77d1032516
[llvm] Add assembly color highlighting
Add support for syntax highlighting assembly. The patch introduces new
RAII helper called WithMarkup that takes care of both emitting colors
and markup annotations. It makes adding markup easier and ensures colors
and annotations remain consistent.

This patch adopts the new helper in the AArch64 backend. If your backend
already uses markup annotations, adoption is as easy as using the new
MCInstPrinter::markup overload.

Differential revision: https://reviews.llvm.org/D159162
2023-09-01 07:57:45 -07:00
Aiden Grossman
8f7496b0b1 [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.
2023-06-04 20:40:37 +00:00
Kazu Hirata
96ddbd6dd8 [llvm] Fix typos in documentation 2023-05-12 23:47:46 -07:00
Aiden Grossman
7bda9ffb9c [Docs][llvm-mc] Add documentation on --filetype flag
Currently the filetype flag is not documented, and knowing the behavior
of this flag is fairly important for doing anything other than
disassembling to text assembly.

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D146878
2023-03-25 17:44:27 +00:00
aabhinavg
5686364d90 [Docs] Added llvm-mc documentation
Fix #61313

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D145844
2023-03-14 08:23:15 +05:30