labath added a comment.

I still like my `WriteMemory(ArrayRef<MemoryWriteDescriptor>)` proposal the 
best. If you don't have any special writing requirements, it can be viewed as a 
convenience wrapper for the one-shot `WriteMemory`, and if a subclass needs 
special handling, it can implement it in a smarter way (while making sure that 
the one-shot call still "does the right thing", just in a slower way).

It also makes it impossible to forget to call `EndBatch()`.


https://reviews.llvm.org/D42145



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to