[Lldb-commits] [lldb] [lldb] Skip remote PutFile when MD5 hashes equal (PR #88812)

Anthony Ha via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 15 16:40:32 PDT 2024


================
@@ -684,6 +684,15 @@ Status PlatformRemoteGDBServer::RunShellCommand(
                                           signo_ptr, command_output, timeout);
 }
 
+bool PlatformRemoteGDBServer::CalculateMD5(const FileSpec &file_spec,
+                                           uint64_t &low, uint64_t &high) {
+  if (IsConnected()) {
----------------
Awfa wrote:

Should I change the other functions in `PlatformRemoteGDBServer` to do the same? For example `PlatformRemoteGDBServer::GetFileExists` does the same currently.

https://github.com/llvm/llvm-project/pull/88812


More information about the lldb-commits mailing list