Author: enrico
Date: Tue Nov  3 12:35:17 2015
New Revision: 251956

URL: http://llvm.org/viewvc/llvm-project?rev=251956&view=rev
Log:
Revert r251882 as it breaks the test suite

Modified:
    lldb/trunk/source/Host/macosx/Host.mm

Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=251956&r1=251955&r2=251956&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Tue Nov  3 12:35:17 2015
@@ -1371,13 +1371,7 @@ Host::ShellExpandArguments (ProcessLaunc
         
         int status;
         std::string output;
-        FileSpec cwd(launch_info.GetWorkingDirectory());
-        if (!cwd.Exists())
-        {
-            error.SetErrorStringWithFormat("cwd does not exist; cannot launch 
with shell argument expansion");
-            return error;
-        }
-        RunShellCommand(expand_command, cwd, &status, nullptr, &output, 10);
+        RunShellCommand(expand_command, launch_info.GetWorkingDirectory(), 
&status, nullptr, &output, 10);
         
         if (status != 0)
         {


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to