[llvm-dev] Update thin-lto cache file atimes when on windows

Owen Reynolds via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 1 08:46:32 PDT 2018


Hi all,

After experimenting with thin-lto caching behaviour I found an issue with
pruning when on Windows.

Thin-lto cache file atimes are used for expiration based pruning, and since
Vista, access file times are not updated by Windows by default:
https://blogs.technet.microsoft.com/filecab/2006/11/07/
disabling-last-access-time-in-windows-vista-to-improve-ntfs-performance/

This means on Windows, cache files are currently being pruned from creation
time.

I've made a patch for this so any feedback would be appreciated:

D47266

Thanks,

Owen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180601/492117a9/attachment.html>


More information about the llvm-dev mailing list