[SR-2855] Under -driver-show-incremental, if a build isn't incremental, say why #45449
Labels
compiler
The Swift compiler in itself
good first issue
Good for newcomers
improvement
legacy driver
Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Additional Detail from JIRA
md5: 8b7347aeb4feb5bb680d5ea8406fc56a
Issue Description:
-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 passedanything I missed?
The text was updated successfully, but these errors were encountered: