llvm/tools/opt-viewer
Adam Nemet d3ee0657bc Add opt-viewer testing
Detects whether we have the Python modules (pygments, yaml) required by
opt-viewer and hooks this up to REQUIRES.

This fixes https://bugs.llvm.org/show_bug.cgi?id=34129 (the lack of opt-viewer
testing).

It's also related to https://github.com/apple/swift/pull/12938 and the idea is
to expose LLVM_HAVE_OPT_VIEWER_MODULES to the Swift cmake.

Differential Revision: https://reviews.llvm.org/D40202

Fixes since the first commit:
1. Disable syntax highlighting as different versions of pygments generate
different HTML
2. Use llvm-cxxfilt from the build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319324 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-29 17:07:41 +00:00
..
CMakeLists.txt
opt-diff.py Make find_opt_files vararg 2017-09-29 05:20:53 +00:00
opt-stats.py Make find_opt_files vararg 2017-09-29 05:20:53 +00:00
opt-viewer.py Add opt-viewer testing 2017-11-29 17:07:41 +00:00
optpmap.py [opt-viewer] Flush stdout after progress update 2017-07-14 04:54:26 +00:00
optrecord.py Add opt-viewer testing 2017-11-29 17:07:41 +00:00
style.css [opt-viewer] Truncate long remark text in source view 2017-11-14 04:48:18 +00:00