augusto2112 added inline comments.
================ Comment at: lldb/source/Target/Target.cpp:1778 + else if (file_cache_bytes_read > 0) { + file_cache_read_buffer.reset(malloc(file_cache_bytes_read)); + std::memcpy(file_cache_read_buffer.get(), dst, file_cache_bytes_read); ---------------- shafik wrote: > Is there a reason why we need to use `malloc` and `free`? Since the type is void I thought that was the correct way. What should I use instead? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101390/new/ https://reviews.llvm.org/D101390 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits