summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2018-11-02 23:42:40 +0000
committerJim Ingham <jingham@apple.com>2018-11-02 23:42:40 +0000
commitab639986cf6051343a8dca48a0e211962ce1e9aa (patch)
treeff2fd01c154b084628a9d05ab1a2b4a483925981 /lldb/scripts/interface
parent466f0f028a59b059ca26501144069b047e72c66a (diff)
downloadbcm5719-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.i8
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:
OpenPOWER on IntegriCloud