mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
Plumb the EvaluateExpressionOptions::{Set,Get}StopOthers through the SB API, and make it work in RunThreadPlan.
Also remove SetStopOthers from the ThreadPlanCallFunction, because if the value you have doesn't match what is in the EvaluateExpressionOptions the plan was passed when created it won't work correctly. llvm-svn: 202464
This commit is contained in:
@@ -5118,7 +5118,12 @@ Process::RunThreadPlan (ExecutionContext &exe_ctx,
|
||||
TimeValue final_timeout = one_thread_timeout;
|
||||
|
||||
uint32_t timeout_usec = options.GetTimeoutUsec();
|
||||
if (options.GetTryAllThreads())
|
||||
if (!options.GetStopOthers())
|
||||
{
|
||||
before_first_timeout = false;
|
||||
final_timeout.OffsetWithMicroSeconds(timeout_usec);
|
||||
}
|
||||
else if (options.GetTryAllThreads())
|
||||
{
|
||||
// If we are running all threads then we take half the time to run all threads, bounded by
|
||||
// .25 sec.
|
||||
|
||||
Reference in New Issue
Block a user