Revert code I didn't mean to check in.

llvm-svn: 178718
This commit is contained in:
Greg Clayton 2013-04-04 00:07:32 +00:00
parent abcbfe5369
commit d6e6ddd636
1 changed files with 2 additions and 5 deletions

View File

@ -154,11 +154,8 @@ PlatformDarwin::ResolveExecutable (const FileSpec &exe_file,
error.Clear(); error.Clear();
else 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 else