swift
17c5010d - [swift][AutoLinkExtract] Don't add autolink hint for frameworks. (#65051)

Commit
2 years ago
[swift][AutoLinkExtract] Don't add autolink hint for frameworks. (#65051) Default system linkers on non-Darwin platforms do not support the `-framework` argument for framework linking. This change updates autolinking to not emit `-framework` into the .o _swift1_autolink_entries metadata when there is no native linker support. This is related to rdar://106578342.
Author
Parents
  • lib/IRGen
    • File
      IRGenModule.cpp
  • test/AutolinkExtract
    • Inputs/Frameworks/Link.framework
      • Headers
        • File
          Link.h
      • Link
      • Modules
        • module.modulemap
    • File
      import_framework.swift