[PATCH] D65189: [MC] Support returning a structured rich disassembly output

Seiya Nuta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 22:22:49 PDT 2019


seiya created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

This patch introduces MCInstPrinter::setMarkupSpans, which allows the caller to
use the output of rich disassembly without parsing its output string.

An upcoming patch replaces markup() with startMarkup() and endMarkup().

This feature will be used for the highlighting feature in llvm-objdump.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65189

Files:
  llvm/include/llvm/MC/MCInstPrinter.h
  llvm/lib/MC/MCInstPrinter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65189.211415.patch
Type: text/x-patch
Size: 6340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190724/cf329a1a/attachment.bin>


More information about the llvm-commits mailing list