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/source/API/SBExpressionOptions.cpp | |
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/source/API/SBExpressionOptions.cpp')
-rw-r--r-- | lldb/source/API/SBExpressionOptions.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/source/API/SBExpressionOptions.cpp b/lldb/source/API/SBExpressionOptions.cpp index b426cd1845f..3ba9ab07e78 100644 --- a/lldb/source/API/SBExpressionOptions.cpp +++ b/lldb/source/API/SBExpressionOptions.cpp @@ -101,6 +101,18 @@ SBExpressionOptions::SetTimeoutInMicroSeconds (uint32_t timeout) m_opaque_ap->SetTimeoutUsec (timeout); } +uint32_t +SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds () const +{ + return m_opaque_ap->GetOneThreadTimeoutUsec (); +} + +void +SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds (uint32_t timeout) +{ + m_opaque_ap->SetOneThreadTimeoutUsec (timeout); +} + bool SBExpressionOptions::GetTryAllThreads () const { |