[PATCH] D31021: ELF: Add cache pruning support.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 16 19:21:08 PDT 2017
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lld/ELF/Config.h:165
unsigned ThinLTOJobs;
+ llvm::CachePruningPolicy ThinLTOCachePolicy;
----------------
Should be moved to line 76.
================
Comment at: lld/ELF/Driver.cpp:590
+ check(parseCachePruningPolicy(getString(Args, OPT_thinlto_cache_policy)),
+ "invalid cache policy");
Config->ThinLTOJobs = getInteger(Args, OPT_thinlto_jobs, -1u);
----------------
"-thinlto-cache-policy: invalid cache policy"
https://reviews.llvm.org/D31021
More information about the llvm-commits
mailing list