diff options
-rw-r--r-- | lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp | 7 |
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 |