[Lldb-commits] [lldb] r243067 - Disable mutex error checking so it doesn't create problems with the multi-threaded test case. The error would cause an assertion that could cause lldb to crash when unlocking a mutex returned an error because it was in use.

Greg Clayton gclayton at apple.com
Thu Jul 23 16:32:08 PDT 2015


Author: gclayton
Date: Thu Jul 23 18:32:08 2015
New Revision: 243067

URL: http://llvm.org/viewvc/llvm-project?rev=243067&view=rev
Log:
Disable mutex error checking so it doesn't create problems with the multi-threaded test case. The error would cause an assertion that could cause lldb to crash when unlocking a mutex returned an error because it was in use.


Modified:
    lldb/trunk/source/Host/common/Mutex.cpp

Modified: lldb/trunk/source/Host/common/Mutex.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Mutex.cpp?rev=243067&r1=243066&r2=243067&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Mutex.cpp (original)
+++ lldb/trunk/source/Host/common/Mutex.cpp Thu Jul 23 18:32:08 2015
@@ -27,7 +27,7 @@
 #endif
 
 // Enable extra mutex error checking
-#ifdef LLDB_CONFIGURATION_DEBUG
+#if 0 // LLDB_CONFIGURATION_DEBUG
 #define ENABLE_MUTEX_ERROR_CHECKING 1
 #include <inttypes.h>
 #endif





More information about the lldb-commits mailing list