[Lldb-commits] [lldb] r178718 - Revert code I didn't mean to check in.

Greg Clayton gclayton at apple.com
Wed Apr 3 17:07:32 PDT 2013


Author: gclayton
Date: Wed Apr  3 19:07:32 2013
New Revision: 178718

URL: http://llvm.org/viewvc/llvm-project?rev=178718&view=rev
Log:
Revert code I didn't mean to check in.


Modified:
    lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp

Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp?rev=178718&r1=178717&r2=178718&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp Wed Apr  3 19:07:32 2013
@@ -154,11 +154,8 @@ PlatformDarwin::ResolveExecutable (const
             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





More information about the lldb-commits mailing list