================
@@ -86,6 +86,122 @@ const void *VirtualDataExtractor::GetData(offset_t 
*offset_ptr,
   return result;
 }
 
+offset_t VirtualDataExtractor::SetData(const void *bytes, lldb::offset_t 
length,
+                                       lldb::ByteOrder byte_order) {
+  // Invoked from the base class ctor
+  if (!m_data_sp || m_start == nullptr)
+    return DataExtractor::SetData(bytes, length, byte_order);
+
+  // A no-op SetData that is setting the same data buffer again
----------------
JDevlieghere wrote:

```suggestion
  // A no-op SetData that is setting the same data buffer again.
```

https://github.com/llvm/llvm-project/pull/179858
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to