[Lldb-commits] [PATCH] D62499: Create a generic handler for Xfer packets

António Afonso via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sun Jun 2 21:44:27 PDT 2019


aadsm marked an inline comment as done.
aadsm added inline comments.


================
Comment at: lldb/unittests/tools/lldb-server/tests/CommunicationServerTest.cpp:40-42
+    for (size_t i = 0; i < dst_len; i++) {
+      packet.append(1, *(static_cast<const char *>(dst) + i));
+    }
----------------
Is there a better way to do this? I found the copy function but it accepts a `char *`, not a `const char *`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62499/new/

https://reviews.llvm.org/D62499





More information about the lldb-commits mailing list