mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The alias defined here with the `.set` directive doesn't actually define a symbolic alias that the linker respects in all cases. The resulting standard library dylib _does_ contain a reference to the aliased symbol with the correct value, but the resulting variable is not actually considered relocatable by the linker. Thus, its value may not always get fixed up properly. Work around this by dropping the alias for now - directly use the type metadata for Swift.__EmptyArrayStorage instead. rdar://100288247
6.0 KiB
6.0 KiB