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

Driver does not handle single-file `-c -o` correctly when doing multiple frontend invocations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:

      Description

      If you specify a single-file compilation job that requires multiple frontend invocations, such as swiftc -emit-module-path foo.swiftmodule -c -o foo.o foo.swift to simultaneously emit a module and an object output, then the driver ignores the -o flag. Passing -force-single-frontend-invocation works around this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jckarter Joe Groff
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: