[Lldb-commits] [lldb] [lldb] Updated lldb-server to spawn the child process and share socket on Windows (PR #101283)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 31 01:46:17 PDT 2024
================
@@ -27,11 +27,13 @@ class TestLogHandler : public LogHandler {
: m_stream_sp(stream_sp) {}
void Emit(llvm::StringRef message) override {
+ std::lock_guard<std::mutex> guard(m_mutex);
----------------
DavidSpickett wrote:
A mutex is now required because of the sharing of the socket I assume?
Could you add a comment on the member variable to say that as well.
https://github.com/llvm/llvm-project/pull/101283
More information about the lldb-commits
mailing list