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

Warn on and ignore -embed-bitcode when not generating object files

    XMLWordPrintable

    Details

      Description

      Certain commands to swiftc, like -emit-sil and (when on its own) -emit-module, don't actually emit any object files. In these cases, trying to use -embed-bitcode results in the driver getting very confused and trying to run a backend job to generate a module. We should instead ignore -embed-bitcode when no object files are being generated.

        Attachments

          Activity

            People

            Assignee:
            keith Keith Smiley
            Reporter:
            jrose Jordan Rose
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: