Skip to content

Conversation

@brentleyjones
Copy link
Collaborator

This feature controls the -Xfrontend -internalize-at-link flag, which allows the linker to hide public symbols that are not being used and thus dead-strip them. Users of frameworks will need to explicitly export them with an -exported_symbols_list if they are not already.

PiperOrigin-RevId: 524870535
(cherry picked from commit e8838f2)

This feature controls the `-Xfrontend -internalize-at-link` flag, which allows the linker to hide public symbols that are not being used and thus dead-strip them. Users of frameworks will need to explicitly export them with an `-exported_symbols_list` if they are not already.

PiperOrigin-RevId: 524870535
(cherry picked from commit e8838f2)
Signed-off-by: Brentley Jones <github@brentleyjones.com>
brentleyjones referenced this pull request Oct 14, 2024
This feature controls the `-Xfrontend -internalize-at-link` flag, which allows the linker to hide public symbols that are not being used and thus dead-strip them. Users of frameworks will need to explicitly export them with an `-exported_symbols_list` if they are not already.

PiperOrigin-RevId: 524870535
@brentleyjones brentleyjones merged commit 2dad738 into master Oct 14, 2024
1 check passed
@brentleyjones brentleyjones deleted the bj/internalize_at_link branch October 14, 2024 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants