diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp index de69da85c1eb..f9391744c972 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