diff options
| author | Jim Ingham <jingham@apple.com> | 2018-11-02 23:42:40 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2018-11-02 23:42:40 +0000 |
| commit | ab639986cf6051343a8dca48a0e211962ce1e9aa (patch) | |
| tree | ff2fd01c154b084628a9d05ab1a2b4a483925981 /lldb/scripts/interface | |
| parent | 466f0f028a59b059ca26501144069b047e72c66a (diff) | |
| download | bcm5719-llvm-ab639986cf6051343a8dca48a0e211962ce1e9aa.tar.gz bcm5719-llvm-ab639986cf6051343a8dca48a0e211962ce1e9aa.zip | |
Add an SBExpressionOptions setting mirroring the "exec" command's --allow-jit.
<rdar://problem/44809176>
Differential Revision: https://reviews.llvm.org/D54056
llvm-svn: 346053
Diffstat (limited to 'lldb/scripts/interface')
| -rw-r--r-- | lldb/scripts/interface/SBExpressionOptions.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBExpressionOptions.i b/lldb/scripts/interface/SBExpressionOptions.i index cb61dd9d963..8687dde49f9 100644 --- a/lldb/scripts/interface/SBExpressionOptions.i +++ b/lldb/scripts/interface/SBExpressionOptions.i @@ -132,6 +132,14 @@ public: void SetTopLevel(bool b = true); + + %feature("docstring", "Gets whether to JIT an expression if it cannot be interpreted.") GetAllowJIT; + bool + GetAllowJIT(); + + %feature("docstring", "Sets whether to JIT an expression if it cannot be interpreted.") SetAllowJIT; + void + SetAllowJIT(bool allow); protected: |

