diff options
author | Zachary Turner <zturner@google.com> | 2014-11-17 21:30:58 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-11-17 21:30:58 +0000 |
commit | 05d77c8b717877df69295fd70abf77ca021330ac (patch) | |
tree | 99c1e6cc21464bec9a9e2143c8a50c0dfffae1ca /lldb/source | |
parent | 7480a0e1635351e00ca308916f4016110ea49a9e (diff) | |
download | bcm5719-llvm-05d77c8b717877df69295fd70abf77ca021330ac.tar.gz bcm5719-llvm-05d77c8b717877df69295fd70abf77ca021330ac.zip |
Fix broken build after signature change of ResolveExecutable.
llvm-svn: 222176
Diffstat (limited to 'lldb/source')
-rw-r--r-- | lldb/source/Host/common/MonitoringProcessLauncher.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Host/common/MonitoringProcessLauncher.cpp b/lldb/source/Host/common/MonitoringProcessLauncher.cpp index 7cca3b12313..0fad44a9ec0 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(); |