[Lldb-commits] [lldb] [lldb] Synchronize Debugger's stdout and stderr at the StreamFile level (PR #126630)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 11 02:32:52 PST 2025
================
@@ -46,9 +46,16 @@ StreamFile::StreamFile(const char *path, File::OpenOptions options,
StreamFile::~StreamFile() = default;
+SynchronizedStreamFile::~SynchronizedStreamFile() = default;
+
void StreamFile::Flush() { m_file_sp->Flush(); }
----------------
labath wrote:
I'm pretty sure flushing also needs to be protected.
https://github.com/llvm/llvm-project/pull/126630
More information about the lldb-commits
mailing list