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

Deprecate LLVM::Module#write_bitcode_with_summary_to_file #13488

Conversation

HertzDevil
Copy link
Contributor

Crystal never calls this method (nor #write_bitcode_to_file nor #write_bitcode_to_fd, for that matter), and ThinLTO is already gone, so there is no harm in making #write_bitcode_with_summary_to_file behave identically to #write_bitcode_to_file.

@HertzDevil HertzDevil force-pushed the refactor/write_bitcode_with_summary_to_file branch from f6e5e48 to 3d79566 Compare May 20, 2023 21:08
@Sija
Copy link
Contributor

Sija commented May 21, 2023

Why not remove it altogether?

@straight-shoota
Copy link
Member

@Sija Because the LLVM module is a public stdlib API and should ensure backward compatibility.

@straight-shoota straight-shoota added this to the 1.9.0 milestone May 22, 2023
@straight-shoota straight-shoota merged commit fdc1e05 into crystal-lang:master May 23, 2023
@HertzDevil HertzDevil deleted the refactor/write_bitcode_with_summary_to_file branch May 24, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants