[Lldb-commits] [lldb] r262287 - Fix MSVC build failure in source/Target/Process.cpp.

Eugene Zelenko via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 29 18:08:37 PST 2016


Author: eugenezelenko
Date: Mon Feb 29 20:08:37 2016
New Revision: 262287

URL: http://llvm.org/viewvc/llvm-project?rev=262287&view=rev
Log:
Fix MSVC build failure in source/Target/Process.cpp.

Will be good idea to introduce macro/constexpr for NULL thread_result_t.

Modified:
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=262287&r1=262286&r2=262287&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Mon Feb 29 20:08:37 2016
@@ -4139,7 +4139,7 @@ Process::ControlPrivateStateThread (uint
                     log->Printf ("The control event killed the private state thread without having to cancel.");
             }
 
-            thread_result_t result = nullptr;
+            thread_result_t result = NULL;
             private_state_thread.Join(&result);
             m_private_state_thread.Reset();
         }




More information about the lldb-commits mailing list