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] |
Use Timeout<> in EvaluateExpressionOptions class llvm-svn: 288797
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp index 9d0f0da..dcc532d 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
@@ -340,7 +340,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);
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp index 38bf336..fc91ba4 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
@@ -351,7 +351,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);
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp index 3994c28..ddc56d8 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
@@ -357,7 +357,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);
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);