mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If the `-static` option is specified, store that in the generated swiftmodule file. When de-serializing, recover this information in the representative SILModule. This will be used for code generation on Windows. It is the missing piece to allow static linking to function properly. It additionally opens the path to additional optimization on ELF-ish targets - GOT, PLT references can be avoided when the linked module is known to be static. Co-authored by: Saleem Abdulrasool <compnerd@compnerd.org>
49 KiB
49 KiB