================ @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits