[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:48:26 PDT 2024
================
@@ -1197,6 +1197,34 @@ Status Platform::PutFile(const FileSpec &source, const FileSpec &destination,
if (!source_file)
return Status(source_file.takeError());
Status error;
+
+ bool requires_upload = true;
+ {
----------------
Awfa wrote:
This is how I write code to scope the variables `dest_md5_low`, `dest_md5_high`, `success` away from the main scope of the function.
Is this not good to do in the llvm-project?
https://github.com/llvm/llvm-project/pull/88812
More information about the lldb-commits
mailing list