summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/windows
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-11-19 21:17:56 +0000
committerEnrico Granata <egranata@apple.com>2015-11-19 21:17:56 +0000
commit0cf8c0468d3cb69f6de72df382a2be270d4b22f6 (patch)
tree075a26db73112eb31fff623199395e311773fad2 /lldb/source/Host/windows
parentf71c9661dfd0d5eda96e26f8d6e3081bc177817c (diff)
downloadbcm5719-llvm-0cf8c0468d3cb69f6de72df382a2be270d4b22f6.tar.gz
bcm5719-llvm-0cf8c0468d3cb69f6de72df382a2be270d4b22f6.zip
Fix an issue where LLDB would not launch argdumper correctly if there were spaces in the path to it
llvm-svn: 253599
Diffstat (limited to 'lldb/source/Host/windows')
-rw-r--r--lldb/source/Host/windows/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/windows/Host.cpp b/lldb/source/Host/windows/Host.cpp
index 5439467708b..2c9a139df25 100644
--- a/lldb/source/Host/windows/Host.cpp
+++ b/lldb/source/Host/windows/Host.cpp
@@ -245,7 +245,7 @@ Host::ShellExpandArguments (ProcessLaunchInfo &launch_info)
std::replace(quoted_cmd_string.begin(), quoted_cmd_string.end(), '\\', '/');
StreamString expand_command;
- expand_command.Printf("%s %s",
+ expand_command.Printf("\"%s\" %s",
expand_tool_spec.GetPath().c_str(),
quoted_cmd_string.c_str());
OpenPOWER on IntegriCloud