Files
swift-mirror/lib/SILOptimizer/Transforms/SILCleanup.cpp
Erik Eckstein 88c97d9436 Remove a hack to change linkage from public_external to shared.
The linkage change let the compiler generate code for public functions which are imported from the stdlib - and are also available in the swiftCore library.
This got worse since we use public linkage for @_versioned internal functions in the stdlib.

Getting rid of the linkage change reduces code size a lot: up to 40% for some projects.

I didn’t see any significant impact on benchmark performance.
2017-05-18 09:23:38 -07:00

2.1 KiB