summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-10-16 22:58:25 +0000
committerGreg Clayton <gclayton@apple.com>2012-10-16 22:58:25 +0000
commitcced1566e228674f03d9e93e076439d4f82b9f91 (patch)
treeb5716a088c03e82de97d30458c5a12738e0d4905 /lldb/scripts/Python/interface
parenteb7d598cec1564d33e47e3950d736d766eb918cf (diff)
downloadbcm5719-llvm-cced1566e228674f03d9e93e076439d4f82b9f91.tar.gz
bcm5719-llvm-cced1566e228674f03d9e93e076439d4f82b9f91.zip
API cleanup.
llvm-svn: 166070
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBExpressionOptions.i61
1 files changed, 19 insertions, 42 deletions
diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i
index fa58fe36896..319040281c1 100644
--- a/lldb/scripts/Python/interface/SBExpressionOptions.i
+++ b/lldb/scripts/Python/interface/SBExpressionOptions.i
@@ -23,69 +23,46 @@ public:
SBExpressionOptions (const lldb::SBExpressionOptions &rhs);
- SBExpressionOptions (bool coerce_to_id,
- bool unwind_on_error,
- bool keep_in_memory,
- bool run_others,
- DynamicValueType use_dynamic,
- uint32_t timeout_usec);
-
~SBExpressionOptions();
bool
- DoesCoerceToId () const;
+ GetCoerceResultToId () const;
+
+ %feature("docstring", "Sets whether to coerce the expression result to ObjC id type after evaluation.") SetCoerceResultToId;
- %feature("docstring",
- "Sets whether to coerce the expression result to ObjC id type after evaluation."
- ) SetCoerceToId;
void
- SetCoerceToId (bool coerce = true);
+ SetCoerceResultToId (bool coerce = true);
bool
- DoesUnwindOnError () const;
+ GetUnwindOnError () const;
+
+ %feature("docstring", "Sets whether to unwind the expression stack on error.") SetUnwindOnError;
- %feature("docstring",
- "Sets whether to unwind the expression stack on error."
- ) SetUnwindOnError;
void
SetUnwindOnError (bool unwind = false);
- bool
- DoesKeepInMemory () const;
-
- %feature("docstring",
- "Sets whether to keep the expression result in the target program's memory - forced to true when creating SBValues."
- ) SetKeepInMemory;
- void
- SetKeepInMemory (bool keep = true);
-
lldb::DynamicValueType
- GetUseDynamic () const;
+ GetFetchDynamicValue () const;
- %feature("docstring",
- "Sets whether to cast the expression result to its dynamic type."
- ) SetUseDynamic;
- void
- SetUseDynamic (lldb::DynamicValueType dynamic = lldb::eDynamicCanRunTarget);
+ %feature("docstring", "Sets whether to cast the expression result to its dynamic type.") SetFetchDynamicValue;
+ void
+ SetFetchDynamicValue (lldb::DynamicValueType dynamic = lldb::eDynamicCanRunTarget);
+
uint32_t
- GetTimeoutUsec () const;
+ GetTimeoutInMicroSeconds () const;
- %feature("docstring",
- "Sets the duration we will wait before cancelling expression evaluation. 0 means wait forever."
- ) SetTimeoutUsec;
+ %feature("docstring", "Sets the timeout in microseconds to run the expression for. If try all threads is set to true and the expression doesn't complete within the specified timeout, all threads will be resumed for the same timeout to see if the expresson will finish.") SetTimeoutInMicroSeconds;
void
- SetTimeoutUsec (uint32_t timeout = 0);
+ SetTimeoutInMicroSeconds (uint32_t timeout = 0);
bool
- GetRunOthers () const;
+ GetTryAllThreads () const;
- %feature("docstring",
- "Sets whether to run all threads if the expression does not complete on one thread."
- ) SetRunOthers;
+ %feature("docstring", "Sets whether to run all threads if the expression does not complete on one thread.") SetTryAllThreads;
void
- SetRunOthers (bool run_others = true);
-
+ SetTryAllThreads (bool run_others = true);
+
protected:
SBExpressionOptions (lldb_private::EvaluateExpressionOptions &expression_options);
OpenPOWER on IntegriCloud