[Lldb-commits] [lldb] r251956 - Revert r251882 as it breaks the test suite

Enrico Granata via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 3 10:35:17 PST 2015


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)
         {




More information about the lldb-commits mailing list