mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
As with SIL functions, track the parent module where a SIL global variable was originally defined so that we can determine whether we are outside of its original module for linkage purposes. Use this to make sure we emit via a weak definition when emitting to a module other than the originating module. Fixes rdar://160153163.
22 KiB
22 KiB