[PATCH] D65189: [MC] Support returning a structured rich disassembly output
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 04:50:01 PDT 2019
MaskRay accepted this revision.
MaskRay added inline comments.
================
Comment at: llvm/lib/MC/MCInstPrinter.cpp:147
+ // Length and InnerLength will be set later.
+ MarkupSpan Span = MarkupSpan(M.Type, OS.tell(), 0, OS.tell() + Length, 0);
+ M.Spans.top()->push_back(std::move(Span));
----------------
`M.Spans.top()->emplace_back(M.Type, OS.tell(), 0, OS.tell() + Length, 0);`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65189/new/
https://reviews.llvm.org/D65189
More information about the llvm-commits
mailing list