[PATCH] D52452: Change the timestamp of llvmcache-foo file to meet the thinLTO prune policy

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 7 23:27:16 PDT 2018


LuoYuanke updated this revision to Diff 168612.
LuoYuanke added a comment.

Add context for the patch.


https://reviews.llvm.org/D52452

Files:
  test/tools/gold/X86/cache.ll


Index: test/tools/gold/X86/cache.ll
===================================================================
--- test/tools/gold/X86/cache.ll
+++ test/tools/gold/X86/cache.ll
@@ -53,6 +53,9 @@
 ; RUN: ls %t.cache | count 5
 
 
+; Increase the age of llvmcache-foo
+; RUN: touch -r %t.cache/llvmcache-foo -d '-2 minutes' %t.cache/llvmcache-foo
+
 ; This should remove it.
 ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
 ; RUN:     --plugin-opt=thinlto \


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52452.168612.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181008/acb0f56c/attachment.bin>


More information about the llvm-commits mailing list