kastiglione created this revision. kastiglione added reviewers: mgorny, labath, aprantl. Herald added a project: All. kastiglione requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits.
Add `m_bytes` and `m_bytes_mutex` to `CommunicationKDP`, following refactoring in D133251 <https://reviews.llvm.org/D133251>. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D133365 Files: lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h Index: lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h =================================================================== --- lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h +++ lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h @@ -221,6 +221,8 @@ // 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
Index: lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h =================================================================== --- lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h +++ lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h @@ -221,6 +221,8 @@ // 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