[PATCH] D42267: [ThinLTO] Allow 0 to be a valid value for pruning interval for C LTO API.
Steven Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 13:46:30 PST 2018
steven_wu added a comment.
This indeed affects how ld64 interact with libLTO. If user didn't specify a value, ld64 will always call thinlto_codegen_set_cache_pruning_interval with interval 0. This is currently a no-op so it will use whatever the default value in libLTO. With this change, it will be force pruning.
It is possible for us to make change to future ld64 to use different value but it is not going work very well for compatibility. If old ld64 loaded a new libLTO, it is going to lose incremental build.
Repository:
rL LLVM
https://reviews.llvm.org/D42267
More information about the llvm-commits
mailing list