summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/ProcessWindows.cpp')
-rw-r--r--lldb/source/Plugins/Process/Windows/ProcessWindows.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
index a61a4d2b909..50ee9f60217 100644
--- a/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
+++ b/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
@@ -89,11 +89,7 @@ Error
ProcessWindows::DoLaunch(Module *exe_module,
ProcessLaunchInfo &launch_info)
{
- Error error;
- ProcessLauncherWindows launcher;
- HostProcess process = launcher.LaunchProcess(launch_info, error);
- launch_info.SetProcessID(process.GetProcessId());
- return error;
+ return Host::LaunchProcess(launch_info);
}
Error
OpenPOWER on IntegriCloud