We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7439524 + 4301f82 commit 6dd305cCopy full SHA for 6dd305c
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -1075,9 +1075,8 @@ void GDBRemoteCommunicationClient::MaybeEnableCompression(
1075
1076
if (avail_type != CompressionType::None) {
1077
StringExtractorGDBRemote response;
1078
- llvm::Twine packet = "QEnableCompression:type:" + avail_name + ";";
1079
- if (SendPacketAndWaitForResponse(packet.str(), response) !=
1080
- PacketResult::Success)
+ std::string packet = "QEnableCompression:type:" + avail_name.str() + ";";
+ if (SendPacketAndWaitForResponse(packet, response) != PacketResult::Success)
1081
return;
1082
1083
if (response.IsOKResponse()) {
0 commit comments