summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBExpressionOptions.i
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-08-08 21:45:36 +0000
committerJim Ingham <jingham@apple.com>2014-08-08 21:45:36 +0000
commit7ab079b6d0cc80f0ce765307ea2cebad8a6bfec6 (patch)
tree838fe0935ab8e54447f3cd997aacd806caf44a60 /lldb/scripts/Python/interface/SBExpressionOptions.i
parent7e774c249f3435d005f9d8e1405e088acc18b4bb (diff)
downloadbcm5719-llvm-7ab079b6d0cc80f0ce765307ea2cebad8a6bfec6.tar.gz
bcm5719-llvm-7ab079b6d0cc80f0ce765307ea2cebad8a6bfec6.zip
Add an option to suppress the persistent result variable when running EvaluateExpression
from Python. If you don't need to refer to the result in another expression, there's no need to bloat the persistent variable table with them since you already have the result SBValue to work with. <rdar://problem/17963645> llvm-svn: 215244
Diffstat (limited to 'lldb/scripts/Python/interface/SBExpressionOptions.i')
-rw-r--r--lldb/scripts/Python/interface/SBExpressionOptions.i9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i
index d172f35c638..6ee3e3b64fa 100644
--- a/lldb/scripts/Python/interface/SBExpressionOptions.i
+++ b/lldb/scripts/Python/interface/SBExpressionOptions.i
@@ -102,6 +102,15 @@ public:
%feature("docstring", "Sets whether to generate debug information for the expression and also controls if a SBModule is generated.") SetGenerateDebugInfo;
void
SetGenerateDebugInfo (bool b = true);
+
+ bool
+ GetSuppressPersistentResult ();
+
+ %feature("docstring", "Sets whether to produce a persistent result that can be used in future expressions.") SetSuppressPersistentResult;
+ void
+ SetSuppressPersistentResult (bool b = false);
+
+
protected:
OpenPOWER on IntegriCloud