[Lldb-commits] [lldb] a79404e - [lldb] Correct an assertion name.

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 1 10:26:53 PDT 2025


Author: John Harrison
Date: 2025-07-01T10:26:32-07:00
New Revision: a79404e50cf5308bb76cc4eaf36cb8eaea9ab66a

URL: https://github.com/llvm/llvm-project/commit/a79404e50cf5308bb76cc4eaf36cb8eaea9ab66a
DIFF: https://github.com/llvm/llvm-project/commit/a79404e50cf5308bb76cc4eaf36cb8eaea9ab66a.diff

LOG: [lldb] Correct an assertion name.

Added: 
    

Modified: 
    lldb/source/Host/windows/MainLoopWindows.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Host/windows/MainLoopWindows.cpp b/lldb/source/Host/windows/MainLoopWindows.cpp
index b4896dced0a48..abb4345b011e4 100644
--- a/lldb/source/Host/windows/MainLoopWindows.cpp
+++ b/lldb/source/Host/windows/MainLoopWindows.cpp
@@ -125,7 +125,7 @@ class SocketEvent : public MainLoopWindows::IOEvent {
 public:
   explicit SocketEvent(SOCKET socket)
       : IOEvent((IOObject::WaitableHandle)WSACreateEvent()), m_socket(socket) {
-    assert(event != WSA_INVALID_EVENT);
+    assert(m_event != WSA_INVALID_EVENT);
   }
 
   ~SocketEvent() override { WSACloseEvent((HANDLE)m_event); }


        


More information about the lldb-commits mailing list