igorkudrin wrote:

> As I understand it, Android Studio was setting `use-source-cache:=false` so 
> that users can continue to edit files on windows while lldb has them open.
> 
> Judging by this patch, that may no longer be necessary. Or does that only 
> apply for certain situations (certain windows versions, files which are not 
> large enough to be mmapped, etc.)?

Based on the change history of `TestUseSourceCache.py`, the test probably 
passes on Windows 10 in its original form, so the opened file is probably 
locked there, despite the `FILE_SHARE_DELETE` mode. I don't have this system to 
properly debug the case, though.

https://github.com/llvm/llvm-project/pull/111237
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to