aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2023-08-31 22:27:01 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2023-09-01 07:57:45 -0700
commit77d1032516e7057f185c5137071e4a97c3f3eb30 (patch)
treedcb9d5f1939ec727e544d3e458cbbbf562d97f7c /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentdc2c4fc784821bded8ef66198a68de9003edb3dd (diff)
downloadllvm-77d1032516e7057f185c5137071e4a97c3f3eb30.zip
llvm-77d1032516e7057f185c5137071e4a97c3f3eb30.tar.gz
llvm-77d1032516e7057f185c5137071e4a97c3f3eb30.tar.bz2
[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
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions