diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2019-08-13 23:04:47 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2019-08-13 23:04:47 +0000 |
commit | e9e36354531e0dde20fbd7dac9749244a52e61be (patch) | |
tree | a0a8b6636f26bbd60b1db22e519bcbab806f9dcc /lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py | |
parent | f5a60e590f05981d24a50ff21f611c3ba711acaa (diff) | |
download | bcm5719-llvm-e9e36354531e0dde20fbd7dac9749244a52e61be.tar.gz bcm5719-llvm-e9e36354531e0dde20fbd7dac9749244a52e61be.zip |
[analyzer] exploded-graph-rewriter: Open the converted graph immediately.
Change the default behavior: the tool no longer dumps the rewritten .dot file
to stdout, but instead it automatically converts it into an .html file
(which essentially wraps an .svg file) and immediately opens it with
the default web browser.
This means that the tool should now be fairly easy to use:
$ exploded-graph-rewriter.py /tmp/ExprEngine.dot
The benefits of wrapping the .svg file into an .html file are:
- It'll open in a web browser, which is the intended behavior.
An .svg file would be open with an image viewer/editor instead.
- It avoids the white background around the otherwise dark svg area
in dark mode.
The feature can be turned off by passing a flag '--rewrite-only'.
The LIT substitution is updated to enforce the old mode because
we don't want web browsers opening on our buildbots.
Differential Revision: https://reviews.llvm.org/D65250
llvm-svn: 368766
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py')
0 files changed, 0 insertions, 0 deletions