diff options
author | Johannes Doerfert <jdoerfert@anl.gov> | 2019-08-23 15:17:27 +0000 |
---|---|---|
committer | Johannes Doerfert <jdoerfert@anl.gov> | 2019-08-23 15:17:27 +0000 |
commit | a5b10b464e5e45cbc156119ba48f24677576d022 (patch) | |
tree | f410e66e420fe3d972fe27c294cde7a1381e7fa1 /lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc | |
parent | 344eee9227daa69b3ad919790da5a0edcf02c9cb (diff) | |
download | bcm5719-llvm-a5b10b464e5e45cbc156119ba48f24677576d022.tar.gz bcm5719-llvm-a5b10b464e5e45cbc156119ba48f24677576d022.zip |
[MustExec] Add a generic "must-be-executed-context" explorer
Given an instruction I, the MustBeExecutedContextExplorer allows to
easily traverse instructions that are guaranteed to be executed whenever
I is. For now, these instruction have to be statically "after" I, in
the same or different basic blocks.
This patch also adds a pass which prints the must-be-executed-context
for each instruction in a module. It is used to test the
MustBeExecutedContextExplorer, for now on the examples given in the
class comment of the MustBeExecutedIterator.
Differential Revision: https://reviews.llvm.org/D65186
llvm-svn: 369765
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object-objc')
0 files changed, 0 insertions, 0 deletions