[PATCH] D31096: LTO, Support: Add a safeguard against pruning a directory that is not a cache directory.
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 17 13:40:31 PDT 2017
mehdi_amini added a comment.
In https://reviews.llvm.org/D31096#704183, @pcc wrote:
> Ivan suggested that we can just use a hidden directory inside the user-supplied directory as the cache directory. I like that approach better, so I'm abandoning this.
Not sure how it'll look like...
What about pattern-matching the list of files to see if any don't have the expected name structure? The linker could warn (or error) when supplied such a directory as cache).
https://reviews.llvm.org/D31096
More information about the llvm-commits
mailing list