Ignore the static analyzer, instead; and add comment why.

llvm-svn: 137275
This commit is contained in:
Johnny Chen 2011-08-10 23:19:32 +00:00
parent 94ba2cba6e
commit 119fd6c03b
1 changed files with 2 additions and 2 deletions

View File

@ -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)