[PATCH] Colored syntax highlighting for llvm-dwarfdump.

Adrian Prantl aprantl at apple.com
Mon Jan 5 15:38:13 PST 2015


Hi friss, echristo, dblaikie,

While waiting for clang to compile (http://xkcd.com/303/) I started hacking on the text output of llvm-dwarfdump, specifically I added colored syntax highlighting. The color scheme is the one that Greg's colorize script for dwarfdump on Darwin is using.

This patch starts by colorizing the .debug_info output. Adding more sections and syntax elements should be trivial.

Do we want this?

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6852

Files:
  lib/DebugInfo/DWARFDebugInfoEntry.cpp
  lib/DebugInfo/DWARFFormValue.cpp
  lib/DebugInfo/SyntaxHighlighting.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6852.17817.patch
Type: text/x-patch
Size: 5973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150105/c130362e/attachment.bin>


More information about the llvm-commits mailing list