================ @@ -85,6 +85,11 @@ double DecodedThread::NanosecondsRange::GetInterpolatedTime( return interpolate(next_range->nanos); } +DecodedThread::TraceItemStorage::TraceItemStorage( + const TraceItemStorage &other) { + std::memcpy(this, &other, sizeof *this); ---------------- nmosier wrote:
Thanks for the suggestion, I changed `DecodedThread::m_item_{kinds,data}` to `std::deque`s and removed the `TraceItemStorage`'s copy constructor. https://github.com/llvm/llvm-project/pull/77252 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits