summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-10 23:19:32 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-10 23:19:32 +0000
commit119fd6c03bc0918299d5008049bf1262c650f7e4 (patch)
treeb357991d5406dd4a0838f3c8aea43281c507349e
parent94ba2cba6e1c330d4087512ce41dd1f799ec4880 (diff)
downloadbcm5719-llvm-119fd6c03bc0918299d5008049bf1262c650f7e4.tar.gz
bcm5719-llvm-119fd6c03bc0918299d5008049bf1262c650f7e4.zip
Ignore the static analyzer, instead; and add comment why.
llvm-svn: 137275
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachProcess.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp b/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp
index 730aefd8800..9f57788b9e0 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp
@@ -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)
OpenPOWER on IntegriCloud