Uploaded image for project: 'Swift'
  1. Swift
  2. SR-2855

Under -driver-show-incremental, if a build isn't incremental, say why

    XMLWordPrintable

    Details

      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 passed
      • anything I missed?

        Attachments

          Activity

            People

            • Assignee:
              modocache Brian Ivan Gesiak
              Reporter:
              jrose Jordan Rose
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: