Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Native] Name previously unnamed symbols #5347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarkCMann
Copy link
Contributor

Provide names for more linker symbols in the final kotlin native binary. This is the first step in determining why unnamed symbols constitute such a large part of the binary size of kotlin native binaries on iOS.

^KT-70830

@SvyatoslavScherbina SvyatoslavScherbina self-assigned this Aug 21, 2024
@SvyatoslavScherbina
Copy link
Contributor

This change adds a lot of new symbol names to the binary.
How does it affect binary size and compilation time?

@SvyatoslavScherbina
Copy link
Contributor

Also, a test is now failing: org.jetbrains.kotlin.konan.test.blackbox.NativeCodegenLocalTestGenerated$FileCheck.testConstants_merge.
Basically, it expects constant object symbols to be unnamed, and the test data simply needs to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants