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

LLVM 20 #22780

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft

LLVM 20 #22780

wants to merge 12 commits into from

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Feb 6, 2025

@alexrp alexrp added work in progress This pull request is not ready for review yet. release notes This PR should be mentioned in the release notes. backend-llvm The LLVM backend outputs an LLVM IR Module. labels Feb 6, 2025
@alexrp alexrp added this to the 0.15.0 milestone Feb 6, 2025
@alexrp alexrp added the zig cc Zig as a drop-in C compiler feature label Feb 6, 2025
@alexrp alexrp marked this pull request as draft February 6, 2025 06:04
This needs to be cherry-picked to master when we want to start testing the
llvm20 branch on the CI machines.
See:

* https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319
* https://discourse.llvm.org/t/rfc-project-hand-in-hand-llvm-libc-libc-code-sharing/77701

We're dropping support for C++03 for Zig due to the first change; it would be
insane to ship 1018 duplicate header files just for this outdated use case.

As a result of the second change, I had to bring in a subset of the headers from
llvm-libc since libc++ now depends on these. Hopefully we can continue to get
away with not copying the entirety of llvm-libc.
LLVM is increasingly making use of this module flag when present.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend-llvm The LLVM backend outputs an LLVM IR Module. release notes This PR should be mentioned in the release notes. work in progress This pull request is not ready for review yet. zig cc Zig as a drop-in C compiler feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant