[PATCH] D18422: Add Cache Pruning support
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 23 22:11:07 PDT 2016
> On Mar 23, 2016, at 7:27 PM, Sean Silva <chisophugis at gmail.com> wrote:
>
> silvas added a subscriber: silvas.
>
> ================
> Comment at: lib/Support/CachePruning.cpp:53
> @@ +52,3 @@
> + StatBuf.st_mtime = 0;
> + if (::stat(TimestampFile.c_str(), &StatBuf)) {
> + if (errno == ENOENT) {
> ----------------
> Can you use sys::fs::status? If not, can you add a comment about why not?
There was no good reason (but my ignorance of it).
Now, I just tried to use it, but it does not provide access to last access time AFAICT.
--
Mehdi
More information about the llvm-commits
mailing list