[Lldb-commits] [lldb] r302948 - Fix build on Mac OS.

Eugene Zemtsov via lldb-commits lldb-commits at lists.llvm.org
Fri May 12 13:44:09 PDT 2017


Author: eugene
Date: Fri May 12 15:44:09 2017
New Revision: 302948

URL: http://llvm.org/viewvc/llvm-project?rev=302948&view=rev
Log:
Fix build on Mac OS.

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=302948&r1=302947&r2=302948&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Fri May 12 15:44:09 2017
@@ -1328,8 +1328,7 @@ Status Host::ShellExpandArguments(Proces
       if (!str_sp)
         continue;
 
-      launch_info.GetArguments().AppendArgument(
-          llvm::StringRef(str_sp->GetValue().c_str()));
+      launch_info.GetArguments().AppendArgument(str_sp->GetValue());
     }
   }
 




More information about the lldb-commits mailing list