-driver-show-incremental is a debugging flag that prints out why the Swift driver thinks it needs to recompile a particular file. It's rather coarse-grained, but what it doesn't even attempt to do is state why a build that was expected to be incremental is in fact recompiling everything. We should make sure to print that out for all of the cases that result in silently rebuilding everything in Driver.cpp.
malformed build record file
new version of compiler
command-line options changed
file renamed or moved
(optionally) -embed-bitcode was passed
anything I missed?
The text was updated successfully, but these errors were encountered: