diff options
author | Jim Ingham <jingham@apple.com> | 2014-03-28 21:58:28 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-03-28 21:58:28 +0000 |
commit | 914f4e7092ff922901b2fb5d7a9b7103f8f616ea (patch) | |
tree | 0a6a4b902cad7bd42d8289358910c711725c3941 /lldb/scripts/Python/interface | |
parent | dca7c7c5f12b6319813cadd7b159d1f5fd8f4323 (diff) | |
download | bcm5719-llvm-914f4e7092ff922901b2fb5d7a9b7103f8f616ea.tar.gz bcm5719-llvm-914f4e7092ff922901b2fb5d7a9b7103f8f616ea.zip |
Add the ability from the SB API's to set the "one thread" timeout
for expression evaluations that try one and then all threads.
<rdar://problem/15598528>
llvm-svn: 205060
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBExpressionOptions.i | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i index 28541084197..46f464f2c58 100644 --- a/lldb/scripts/Python/interface/SBExpressionOptions.i +++ b/lldb/scripts/Python/interface/SBExpressionOptions.i @@ -64,6 +64,13 @@ public: void SetTimeoutInMicroSeconds (uint32_t timeout = 0); + uint32_t + GetOneThreadTimeoutInMicroSeconds () const; + + %feature("docstring", "Sets the timeout in microseconds to run the expression on one thread before either timing out or trying all threads.") SetTimeoutInMicroSeconds; + void + SetOneThreadTimeoutInMicroSeconds (uint32_t timeout = 0); + bool GetTryAllThreads () const; |