[Lldb-commits] [lldb] r222176 - Fix broken build after signature change of ResolveExecutable.
Zachary Turner
zturner at google.com
Mon Nov 17 13:30:58 PST 2014
Author: zturner
Date: Mon Nov 17 15:30:58 2014
New Revision: 222176
URL: http://llvm.org/viewvc/llvm-project?rev=222176&view=rev
Log:
Fix broken build after signature change of ResolveExecutable.
Modified:
lldb/trunk/source/Host/common/MonitoringProcessLauncher.cpp
Modified: lldb/trunk/source/Host/common/MonitoringProcessLauncher.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/MonitoringProcessLauncher.cpp?rev=222176&r1=222175&r2=222176&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/MonitoringProcessLauncher.cpp (original)
+++ lldb/trunk/source/Host/common/MonitoringProcessLauncher.cpp Mon Nov 17 15:30:58 2014
@@ -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
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();
More information about the lldb-commits
mailing list