<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">clans is using stat() and st_atime, see line 1256 here: <a href="http://clang.llvm.org/doxygen/CompilerInstance_8cpp_source.html#l01256" class="">http://clang.llvm.org/doxygen/CompilerInstance_8cpp_source.html#l01256</a><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 24, 2016, at 1:10 PM, Rafael EspĂ­ndola <<a href="mailto:rafael.espindola@gmail.com" class="">rafael.espindola@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">So, the code looks fine, but given how limited the OS support is, is this useful?</p><p dir="ltr" class="">What cache replacement policy is used by clang? Or by ccache?</p><p dir="ltr" class="">Cheers,<br class="">
Rafael</p>
<div class="gmail_quote">On Mar 24, 2016 3:16 PM, "Mehdi AMINI" <<a href="mailto:mehdi.amini@apple.com" class="">mehdi.amini@apple.com</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">joker.eph added a comment.<br class="">
<br class="">
Note: I didn't test the windows part, I wrote it by reading <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms724320(v=vs.85).aspx" rel="noreferrer" target="_blank" class="">https://msdn.microsoft.com/en-us/library/windows/desktop/ms724320(v=vs.85).aspx</a><br class="">
<br class="">
<br class="">
<a href="http://reviews.llvm.org/D18456" rel="noreferrer" target="_blank" class="">http://reviews.llvm.org/D18456</a><br class="">
<br class="">
<br class="">
<br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>