summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-04-04 00:07:32 +0000
committerGreg Clayton <gclayton@apple.com>2013-04-04 00:07:32 +0000
commitd6e6ddd636d4280c86208eecf91917bcb6da692c (patch)
tree7c69e8355b2b1703492ad5bb9f99451d9125b91a
parentabcbfe53696ed3f741a7f328b8134ca45da6718d (diff)
downloadbcm5719-llvm-d6e6ddd636d4280c86208eecf91917bcb6da692c.tar.gz
bcm5719-llvm-d6e6ddd636d4280c86208eecf91917bcb6da692c.zip
Revert code I didn't mean to check in.
llvm-svn: 178718
-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