Skip to content

Allow unused destructors to be completely elided #20519

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

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 23, 2023

Depends on llvm/llvm-project#68758

Fixes: #19993

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@sbc100 sbc100 merged commit 3630336 into emscripten-core:main Oct 24, 2023
@sbc100 sbc100 deleted the elide_dtors branch October 24, 2023 22:02
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.

Global destructors not optimized away even with LTO
2 participants