mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This adjusts the IRGen to avoid the force load symbol for static linking. When static linking, we can elide the force load symbol as it exists to ensure that the shared library is loaded at runtime unconditionally. However, the symbol will not preserve the library and it will be DCE'd appropriately. This resolves the unresolved force load symbol when statically linking on Windows.
52 KiB
52 KiB