summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-10-24 17:51:56 +0000
committerZachary Turner <zturner@google.com>2014-10-24 17:51:56 +0000
commit047a070f7ce35ee6524bba4a70ee2fadaa8e6e61 (patch)
tree4c4d741b6b277053e91121f1eb84d253fe7302fd /lldb/source/Plugins/Process/Windows/ProcessWindows.cpp
parentd7857f05f4c56cf7bd22ce5a6a8d78df6043ab6d (diff)
downloadbcm5719-llvm-047a070f7ce35ee6524bba4a70ee2fadaa8e6e61.tar.gz
bcm5719-llvm-047a070f7ce35ee6524bba4a70ee2fadaa8e6e61.zip
Make ProcessWindows just use Host::LaunchProcess.
llvm-svn: 220574
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