summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-12-06 11:24:51 +0000
committerPavel Labath <labath@google.com>2016-12-06 11:24:51 +0000
commit43d354182f44fac52247a4340462e7471e59a00a (patch)
tree2caef34124c24c3bf8d636da465758edfdc3cce3 /lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
parent9335c020c61addbcb8de944d3f44dbfa4a1abafc (diff)
downloadbcm5719-llvm-43d354182f44fac52247a4340462e7471e59a00a.tar.gz
bcm5719-llvm-43d354182f44fac52247a4340462e7471e59a00a.zip
Use Timeout<> in EvaluateExpressionOptions class
llvm-svn: 288797
Diffstat (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp')
-rw-r--r--lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
index 9d0f0dace3d..dcc532db202 100644
--- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
+++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
@@ -340,7 +340,7 @@ AppleGetItemInfoHandler::GetItemInfo(Thread &thread, uint64_t item,
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);
OpenPOWER on IntegriCloud