[Lldb-commits] [lldb] a111ffb - [lldb] Fix build break in ProcessDebugger due to StringRef usage changes
Stella Stamenova via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 29 13:19:12 PST 2020
Author: Stella Stamenova
Date: 2020-01-29T13:19:04-08:00
New Revision: a111ffbb03f7a9e61bfb2dc29689234887e30014
URL: https://github.com/llvm/llvm-project/commit/a111ffbb03f7a9e61bfb2dc29689234887e30014
DIFF: https://github.com/llvm/llvm-project/commit/a111ffbb03f7a9e61bfb2dc29689234887e30014.diff
LOG: [lldb] Fix build break in ProcessDebugger due to StringRef usage changes
Added:
Modified:
lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
index 2cf384ec1e08..8a85c8ba6f4e 100644
--- a/lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp
@@ -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);
More information about the lldb-commits
mailing list