diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-04-25 00:06:26 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-04-25 00:06:26 +0000 |
commit | a0560152cb934dfcf33138cc707700845df95e67 (patch) | |
tree | 2c5d6e2aba70c8e5cae3c8869c0802babfba1090 /lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp | |
parent | ff4282a204301a457f3dba6e6517c565de83abdc (diff) | |
download | bcm5719-llvm-a0560152cb934dfcf33138cc707700845df95e67.tar.gz bcm5719-llvm-a0560152cb934dfcf33138cc707700845df95e67.zip |
Only allow on thread to run when calling libBacktraceRecording.
Make sure the timeout is set to 0.5s for these.
<rdar://problem/16719510>
llvm-svn: 207163
Diffstat (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp')
-rw-r--r-- | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp index 47c883e72dc..2114af6bba2 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp @@ -355,6 +355,8 @@ AppleGetThreadItemInfoHandler::GetThreadItemInfo (Thread &thread, tid_t thread_i options.SetUnwindOnError (true); options.SetIgnoreBreakpoints (true); options.SetStopOthers (true); + options.SetTimeoutUsec(500000); + options.SetTryAllThreads (false); thread.CalculateExecutionContext (exe_ctx); if (m_get_thread_item_info_function == NULL) |