diff options
| author | Enrico Granata <egranata@apple.com> | 2015-11-19 21:17:56 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2015-11-19 21:17:56 +0000 |
| commit | 0cf8c0468d3cb69f6de72df382a2be270d4b22f6 (patch) | |
| tree | 075a26db73112eb31fff623199395e311773fad2 /lldb/source/Host/windows | |
| parent | f71c9661dfd0d5eda96e26f8d6e3081bc177817c (diff) | |
| download | bcm5719-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.cpp | 2 |
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()); |

