Author: Dave Lee Date: 2022-09-06T10:48:12-07:00 New Revision: 940704cc585e8a1b92aa76d2a5720cdde1be4491
URL: https://github.com/llvm/llvm-project/commit/940704cc585e8a1b92aa76d2a5720cdde1be4491 DIFF: https://github.com/llvm/llvm-project/commit/940704cc585e8a1b92aa76d2a5720cdde1be4491.diff LOG: [lldb] Fix CommunicationKDP following D133251 Add `m_bytes` and `m_bytes_mutex` to `CommunicationKDP`, following refactoring in D133251. Differential Revision: https://reviews.llvm.org/D133365 Added: Modified: lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h Removed: ################################################################################ diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h index f7ab9a176b475..5e11b2d32bfed 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h @@ -221,6 +221,8 @@ class CommunicationKDP : public lldb_private::Communication { // Classes that inherit from CommunicationKDP can see and modify these uint32_t m_addr_byte_size; lldb::ByteOrder m_byte_order; + std::string m_bytes; + std::recursive_mutex m_bytes_mutex; std::chrono::seconds m_packet_timeout; std::recursive_mutex m_sequence_mutex; // Restrict access to sending/receiving // packets to a single thread at a time _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits