bruno added a subscriber: bruno. bruno added a comment. It might be worth looking at how clang implements pruning for old modules. The option in question is -fmodules-prune-interval. http://reviews.llvm.org/D18422