[Lldb-commits] [lldb] [lldb] Fix Intel PT plugin compile errors (PR #77252)

Nicholas Mosier via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 8 08:15:37 PST 2024


================
@@ -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


More information about the lldb-commits mailing list