From 1fe20ff728b929422a2da2fe37a395f66ab7928a Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Fri, 8 Mar 2024 09:02:25 +1300 Subject: [PATCH] Ensure `TraceWriter::chaos_mode` and `TraceWriter::supports_file_data_cloning_` are properly initialized --- src/TraceStream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/TraceStream.cc b/src/TraceStream.cc index 178ed91bcf6..4b3d67d2a40 100644 --- a/src/TraceStream.cc +++ b/src/TraceStream.cc @@ -1359,7 +1359,10 @@ TraceWriter::TraceWriter(const std::string& file_name, has_cpuid_faulting_(false), xsave_fip_fdp_quirk_(false), fdp_exception_only_quirk_(false), - clear_fip_fdp_(false) { + clear_fip_fdp_(false), + supports_file_data_cloning_(false), + chaos_mode(false) + { this->ticks_semantics_ = ticks_semantics_; for (Substream s = SUBSTREAM_FIRST; s < SUBSTREAM_COUNT; ++s) {