Author: Pavel Labath
Date: 2025-06-24T12:45:44+02:00
New Revision: 4d2b79b04a9ebd6c678c465c9a4b1f311ccfbfc2

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

LOG: [lldb] Fix build for #145017

Mid-flight collision with #145293.

Added: 
    

Modified: 
    lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 
b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 4e3569a5e7987..4e70fe8ac1595 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -3512,7 +3512,7 @@ Status ProcessGDBRemote::LaunchAndConnectToDebugserver(
   // Our process spawned correctly, we can now set our connection to use
   // our end of the socket pair
   m_gdb_comm.SetConnection(std::make_unique<ConnectionFileDescriptor>(
-      socket_pair->second.release()));
+      std::move(socket_pair->second)));
   StartAsyncThread();
 
   if (m_gdb_comm.IsConnected()) {


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to