Implement a very basic colored syntax highlighting for llvm-dwarfdump.
authorAdrian Prantl <aprantl@apple.com>
Tue, 6 Jan 2015 16:50:25 +0000 (16:50 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 6 Jan 2015 16:50:25 +0000 (16:50 +0000)
commitaea3b23b9b9fb32ec506be32af7d514dd794efed
tree11cd285c291d5876524303272557b218fd867fdc
parent15914b5c2244bdbda439bf2a4cab2191cc7617dc
Implement a very basic colored syntax highlighting for llvm-dwarfdump.
The color scheme is the same as the one used by the colorize dwarfdump
script on Darwin.
A new --color option can be used to forcibly turn color on or off.

http://reviews.llvm.org/D6852

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225269 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/CMakeLists.txt
lib/DebugInfo/DWARFDebugInfoEntry.cpp
lib/DebugInfo/DWARFFormValue.cpp
lib/DebugInfo/SyntaxHighlighting.cpp [new file with mode: 0644]
lib/DebugInfo/SyntaxHighlighting.h [new file with mode: 0644]