From 05d77c8b717877df69295fd70abf77ca021330ac Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Mon, 17 Nov 2014 21:30:58 +0000 Subject: [PATCH] Fix broken build after signature change of ResolveExecutable. llvm-svn: 222176 --- lldb/source/Host/common/MonitoringProcessLauncher.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lldb/source/Host/common/MonitoringProcessLauncher.cpp b/lldb/source/Host/common/MonitoringProcessLauncher.cpp index 7cca3b1..0fad44a 100644 --- a/lldb/source/Host/common/MonitoringProcessLauncher.cpp +++ b/lldb/source/Host/common/MonitoringProcessLauncher.cpp @@ -10,6 +10,7 @@ #include "lldb/Core/Error.h" #include "lldb/Core/Log.h" #include "lldb/Core/Module.h" +#include "lldb/Core/ModuleSpec.h" #include "lldb/Host/HostProcess.h" #include "lldb/Host/MonitoringProcessLauncher.h" #include "lldb/Target/Platform.h" @@ -41,8 +42,9 @@ MonitoringProcessLauncher::LaunchProcess(const ProcessLaunchInfo &launch_info, E FileSpec::FileType file_type = exe_spec.GetFileType(); if (file_type != FileSpec::eFileTypeRegular) { + ModuleSpec module_spec(exe_spec, arch_spec); lldb::ModuleSP exe_module_sp; - error = host_platform_sp->ResolveExecutable(exe_spec, arch_spec, exe_module_sp, NULL); + error = host_platform_sp->ResolveExecutable(module_spec, exe_module_sp, NULL); if (error.Fail()) return HostProcess(); -- 2.7.4