mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Configure the runtime to build with -Wglobal-constructors, and Lazy-fy almost everything that gets flagged. (I gave "swift_isaMask" a pass since that's almost definitely hot enough to warrant a static initialization.) Make some improvements to the Lazy wrapper, using aligned_storage to ensure that it's trivially constructed and destructed. Swift SVN r28199
2.1 KiB
2.1 KiB