JetBrains / kotlin-native

Kotlin/Native infrastructure
Apache License 2.0
7.02k stars 564 forks source link

Fix -Xoverride-konan-properties for Apple strip #4711

Closed idstein closed 3 years ago

idstein commented 3 years ago

When building an optimised release dynamic framework we see a lot of local symbols in Mach-O. When calling strip -x this can be dramatically reduced whilst still having a usable artefact.

Current logic seems to keep symbols for DSYM extraction in debug light mode. But only strips hardcoded debug symbols (strip -S) afterwards.