forked from OSchip/llvm-project
[lldb] Fix build break in ProcessDebugger due to StringRef usage changes
This commit is contained in:
parent
5ea83eef4d
commit
a111ffbb03
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue