diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2019-08-13 23:04:53 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2019-08-13 23:04:53 +0000 |
commit | 9289681ea3d000e7d46b2c69bac26b45f960c4dd (patch) | |
tree | dd7e646d999966deb91899ba605652b66fe604c6 /lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py | |
parent | 0b26891f3f2b75dcc8f1a0f3a34342ce27570a2c (diff) | |
download | bcm5719-llvm-9289681ea3d000e7d46b2c69bac26b45f960c4dd.tar.gz bcm5719-llvm-9289681ea3d000e7d46b2c69bac26b45f960c4dd.zip |
[analyzer] exploded-graph-rewriter: Implement manual graph trimming.
When -trim-egraph is unavailable (say, when you're debugging a crash on
a real-world code that takes too long to reduce), it makes sense to view
the untrimmed graph up to the crashing node's predecessor, then dump the ID
(or a pointer) of the node in the attached debugger, and then trim
the dumped graph in order to keep only paths from the root to the node.
The newly added --to flag does exactly that:
$ exploded-graph-rewriter.py ExprEngine.dot --to 0x12229acd0
Multiple nodes can be specified. Stable IDs of nodes can be used
instead of pointers.
Differential Revision: https://reviews.llvm.org/D65345
llvm-svn: 368768
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py')
0 files changed, 0 insertions, 0 deletions