[Lldb-commits] [lldb] r137275 - /lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp

Johnny Chen johnny.chen at apple.com
Wed Aug 10 16:19:32 PDT 2011


Author: johnny
Date: Wed Aug 10 18:19:32 2011
New Revision: 137275

URL: http://llvm.org/viewvc/llvm-project?rev=137275&view=rev
Log:
Ignore the static analyzer, instead; and add comment why.

Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp

Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp?rev=137275&r1=137274&r2=137275&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp Wed Aug 10 18:19:32 2011
@@ -418,8 +418,8 @@
     {
         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)





More information about the lldb-commits mailing list