1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/tools/opt-viewer
Florian Hahn 1973dbeae9 [opt-viewer] Add javascript to expand/hide full message for multiline remarks.
This patch adds support for displaying remarks with multiple
lines. For such remarks, it creates a hidden div
containing the message's lines except the first one in a <pre>
tag. It also prepends a link (with '+' as text) to the regular remark
line. This link can be used to show/hide the div containing the
full remark.

In combination with D57159, this allows for better displaying of
multiline remarks in the html pages generated by opt-viewer.

The Javascript is very simple and should be supported by any recent
major browser.

Reviewers: hfinkel, anemet, thegameg, serge-sans-paille

Reviewed By: anemet

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

llvm-svn: 352223
2019-01-25 17:48:31 +00:00
..
CMakeLists.txt
opt-diff.py Python compat - no explicit reference to Python version 2019-01-03 15:44:24 +00:00
opt-stats.py Python compat - no explicit reference to Python version 2019-01-03 15:44:24 +00:00
opt-viewer.py [opt-viewer] Add javascript to expand/hide full message for multiline remarks. 2019-01-25 17:48:31 +00:00
optpmap.py Python compat - map/filter 2019-01-03 14:12:30 +00:00
optrecord.py Python compat - no explicit reference to Python version 2019-01-03 15:44:24 +00:00
style.css [opt-viewer] Add javascript to expand/hide full message for multiline remarks. 2019-01-25 17:48:31 +00:00