commit | 43d354182f44fac52247a4340462e7471e59a00a | [log] [tgz] |
---|---|---|
author | Pavel Labath <labath@google.com> | Tue Dec 06 11:24:51 2016 +0000 |
committer | Pavel Labath <labath@google.com> | Tue Dec 06 11:24:51 2016 +0000 |
tree | 2caef34124c24c3bf8d636da465758edfdc3cce3 | |
parent | 9335c020c61addbcb8de944d3f44dbfa4a1abafc [diff] [blame] |
Use Timeout<> in EvaluateExpressionOptions class llvm-svn: 288797
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp index 4ed43e5..c05523e 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
@@ -355,7 +355,7 @@ options.SetUnwindOnError(true); options.SetIgnoreBreakpoints(true); options.SetStopOthers(true); - options.SetTimeoutUsec(500000); + options.SetTimeout(std::chrono::milliseconds(500)); options.SetTryAllThreads(false); thread.CalculateExecutionContext(exe_ctx);