[PATCH] D65191: [llvm-objdump] Implement highlighting

Seiya Nuta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 20:53:33 PDT 2019


seiya updated this revision to Diff 214061.
seiya marked 7 inline comments as done.
seiya added a comment.

- Enable syntax highlighting by default.
- Added WithColor::colorsAvailable
  - I'll submit this as a separate patch if it's a good approach.
- Replaced the lengthy YAML with a hand-assembled shorter one.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65191/new/

https://reviews.llvm.org/D65191

Files:
  llvm/docs/CommandGuide/llvm-objdump.rst
  llvm/include/llvm/Support/WithColor.h
  llvm/lib/Support/WithColor.cpp
  llvm/test/tools/llvm-objdump/X86/disassembly-highlighting.test
  llvm/tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65191.214061.patch
Type: text/x-patch
Size: 13543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190808/ac4a4cf9/attachment.bin>


More information about the llvm-commits mailing list