summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
index de69da85c1e..f9391744c97 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
@@ -154,11 +154,8 @@ PlatformDarwin::ResolveExecutable (const FileSpec &exe_file,
error.Clear();
else
{
- if (!resolved_exe_file.ResolveExecutableLocation())
- {
- exe_file.GetPath (exe_path, sizeof(exe_path));
- error.SetErrorStringWithFormat ("unable to find executable for '%s'", exe_path);
- }
+ exe_file.GetPath (exe_path, sizeof(exe_path));
+ error.SetErrorStringWithFormat ("unable to find executable for '%s'", exe_path);
}
}
else
OpenPOWER on IntegriCloud