summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/macosx
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-11-03 18:35:17 +0000
committerEnrico Granata <egranata@apple.com>2015-11-03 18:35:17 +0000
commit32d68fec561ea4622dbc11480c21e083f3fd7397 (patch)
treef9da1723dd18e8b484e8652218eaca3c584c57b5 /lldb/source/Host/macosx
parent6623e1f10f9546cfe68268ca6724a6fc187b3c1d (diff)
downloadbcm5719-llvm-32d68fec561ea4622dbc11480c21e083f3fd7397.tar.gz
bcm5719-llvm-32d68fec561ea4622dbc11480c21e083f3fd7397.zip
Revert r251882 as it breaks the test suite
llvm-svn: 251956
Diffstat (limited to 'lldb/source/Host/macosx')
-rw-r--r--lldb/source/Host/macosx/Host.mm8
1 files changed, 1 insertions, 7 deletions
diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm
index 8899b9c675c..57be7d862d7 100644
--- a/lldb/source/Host/macosx/Host.mm
+++ b/lldb/source/Host/macosx/Host.mm
@@ -1371,13 +1371,7 @@ Host::ShellExpandArguments (ProcessLaunchInfo &launch_info)
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)
{
OpenPOWER on IntegriCloud