From d7048988d7f4085ed78ff6f8f7830bb45fce3ff7 Mon Sep 17 00:00:00 2001 From: Eugene Zemtsov Date: Fri, 12 May 2017 20:44:09 +0000 Subject: [PATCH] Fix build on Mac OS. llvm-svn: 302948 --- lldb/source/Host/macosx/Host.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm index b249210..be205f9 100644 --- a/lldb/source/Host/macosx/Host.mm +++ b/lldb/source/Host/macosx/Host.mm @@ -1328,8 +1328,7 @@ Status Host::ShellExpandArguments(ProcessLaunchInfo &launch_info) { if (!str_sp) continue; - launch_info.GetArguments().AppendArgument( - llvm::StringRef(str_sp->GetValue().c_str())); + launch_info.GetArguments().AppendArgument(str_sp->GetValue()); } } -- 2.7.4