[Lldb-commits] [lldb] b5eeb88 - [lldb] One more fix for the MonitorChildProcess patch (D120425)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 24 03:06:50 PST 2022


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 {};
 }


        


More information about the lldb-commits mailing list