[lldb] Fix build break in ProcessDebugger due to StringRef usage changes

This commit is contained in:
Stella Stamenova 2020-01-29 13:19:04 -08:00
parent 5ea83eef4d
commit a111ffbb03
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ Status ProcessDebugger::LaunchProcess(ProcessLaunchInfo &launch_info,
stream.Printf("ProcessDebugger unable to launch '%s'. ProcessDebugger can "
"only be used for debug launches.",
launch_info.GetExecutableFile().GetPath().c_str());
std::string message = stream.GetString();
std::string message = stream.GetString().str();
result.SetErrorString(message.c_str());
LLDB_LOG(log, "error: {0}", message);