summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp')
-rw-r--r--lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
index ec14ae3e829..5d065ac0661 100644
--- a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
+++ b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
@@ -823,10 +823,10 @@ PlatformLinux::LaunchNativeProcess (
// Retrieve the exe module.
lldb::ModuleSP exe_module_sp;
+ ModuleSpec exe_module_spec(launch_info.GetExecutableFile(), launch_info.GetArchitecture());
Error error = ResolveExecutable (
- launch_info.GetExecutableFile (),
- launch_info.GetArchitecture (),
+ exe_module_spec,
exe_module_sp,
NULL);
OpenPOWER on IntegriCloud