[Lldb-commits] [lldb] r331882 - Fix Windows build for the Predicate.h refactor in r331880

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed May 9 07:49:43 PDT 2018


Author: labath
Date: Wed May  9 07:49:43 2018
New Revision: 331882

URL: http://llvm.org/viewvc/llvm-project?rev=331882&view=rev
Log:
Fix Windows build for the Predicate.h refactor in r331880

Modified:
    lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp

Modified: lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp?rev=331882&r1=331881&r2=331882&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Windows/Common/DebuggerThread.cpp Wed May  9 07:49:43 2018
@@ -363,8 +363,8 @@ DebuggerThread::HandleExceptionEvent(con
   m_exception_pred.SetValue(result, eBroadcastNever);
 
   LLDB_LOG(log, "waiting for ExceptionPred != BreakInDebugger");
-  m_exception_pred.WaitForValueNotEqualTo(ExceptionResult::BreakInDebugger,
-                                          result);
+  result = *m_exception_pred.WaitForValueNotEqualTo(
+      ExceptionResult::BreakInDebugger);
 
   LLDB_LOG(log, "got ExceptionPred = {0}", (int)m_exception_pred.GetValue());
   return result;




More information about the lldb-commits mailing list