Author: Pavel Labath
Date: 2022-02-24T12:06:42+01:00
New Revision: b5eeb8873af93029221e97ad4d89febb22f62fd3

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

LOG: [lldb] One more fix for the MonitorChildProcess patch (D120425)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/source/Host/windows/HostProcessWindows.cpp 
b/lldb/source/Host/windows/HostProcessWindows.cpp
index 5462040f6cb71..1955f57bbc383 100644
--- a/lldb/source/Host/windows/HostProcessWindows.cpp
+++ b/lldb/source/Host/windows/HostProcessWindows.cpp
@@ -70,7 +70,7 @@ MonitorThread(const Host::MonitorChildProcessCallback 
&callback,
 
   ::WaitForSingleObject(process_handle, INFINITE);
   ::GetExitCodeProcess(process_handle, &exit_code);
-  callback(::GetProcessId(process_handle), true, 0, exit_code);
+  callback(::GetProcessId(process_handle), 0, exit_code);
   ::CloseHandle(process_handle);
   return {};
 }


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

Reply via email to