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

Invoke the linker if there are any -Xlinker arguments, even if there are no inputs

    XMLWordPrintable

    Details

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

      Description

      Sometimes it is useful to invoke the linker via swiftc (because of its extra behaviors), but needing to use -Xlinker to escape things so swiftc doesn’t muck with them. The driver should be willing to invoke the linker even when there are no input files if there are some Xlinker arguments.

      The clang driver has a similar special case for linker args.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jrose Jordan Rose
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: