diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-05-23 19:32:46 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-05-23 19:32:46 +0000 |
commit | a83bf477702e96f2ca9e1e21a59704b11f58f958 (patch) | |
tree | 6d295aff04fe9407d76ed73e5f9e9b4ad4858ab4 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | cb64cd9b6041c2c8aaca6d01023e5d7963873701 (diff) | |
download | bcm5719-llvm-a83bf477702e96f2ca9e1e21a59704b11f58f958.tar.gz bcm5719-llvm-a83bf477702e96f2ca9e1e21a59704b11f58f958.zip |
[gdb-remote] Fix more issues with thread_result_t
More fixes needed to un-break the Windows bot.
llvm-svn: 361539
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 9c3a02e77e5..3886b6cfe00 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -541,7 +541,7 @@ bool GDBRemoteCommunication::DecompressPacket() { #if defined(HAVE_LIBCOMPRESSION) if (m_compression_type == CompressionType::ZlibDeflate || m_compression_type == CompressionType::LZFSE || - m_compression_type == CompressionType::LZ4 || + m_compression_type == CompressionType::LZ4 || m_compression_type == CompressionType::LZMA) { compression_algorithm compression_type; if (m_compression_type == CompressionType::LZFSE) @@ -578,7 +578,7 @@ bool GDBRemoteCommunication::DecompressPacket() { if (decompressed_bufsize != ULONG_MAX && decompressed_buffer != nullptr) { decompressed_bytes = compression_decode_buffer( decompressed_buffer, decompressed_bufsize, - (uint8_t *)unescaped_content.data(), unescaped_content.size(), + (uint8_t *)unescaped_content.data(), unescaped_content.size(), m_decompression_scratch, compression_type); } } @@ -925,7 +925,7 @@ GDBRemoteCommunication::ListenThread(lldb::thread_arg_t arg) { eConnectionStatusSuccess) comm->SetConnection(nullptr); } - return nullptr; + return {}; } Status GDBRemoteCommunication::StartDebugserverProcess( |