Ignore the static analyzer, instead; and add comment why.
llvm-svn: 137275
This commit is contained in:
parent
94ba2cba6e
commit
119fd6c03b
|
@ -418,8 +418,8 @@ MachProcess::DoSIGSTOP (bool clear_bps_and_wps, uint32_t *thread_idx_ptr)
|
|||
{
|
||||
DisableAllBreakpoints (true);
|
||||
DisableAllWatchpoints (true);
|
||||
// Silence static analyzer.
|
||||
// clear_bps_and_wps = false;
|
||||
// The static analyzer complains about this, but just leave the following line in.
|
||||
clear_bps_and_wps = false;
|
||||
}
|
||||
uint32_t thread_idx = m_thread_list.GetThreadIndexForThreadStoppedWithSignal (SIGSTOP);
|
||||
if (thread_idx_ptr)
|
||||
|
|
Loading…
Reference in New Issue