-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Tracking Issue for llvm-tools-preview #85658
Comments
Related issue: #56371 The use case that I want clang for is the integrated assembler, for assembling .s files in my rust kernel build process. I don't believe that there's currently any way of invoking the llvm based assembler except through the clang driver. |
If you are using a nightly compiler you could use the |
Not really, if you are a kernel. Generally you want your init code and similarly large pieces of assembly outside of rust files, since you want to create jump tables and such that don't belong to a function, among other things. It's rather hacky to try to do everything with inline assembly. |
What about |
These seem to be now available as "llvm-tools" (no "-preview"). Did this issue get accidentally left behind? |
It was inadvertent that the component without the |
There was a discussion at https://rust-lang.zulipchat.com/#narrow/stream/241545-t-release/topic/llvm-tools.20stabilization about the accidental removal of the I think to summarize: People agree that we should not remove the I had some uncertainty about who is actually responsible for this component. I think by default it should probably be the compiler team delegating to wg-llvm if needed. There is some uncertainty about the directory where the tools currently reside. Currently they are in the target directory, but they are host tools so they should probably be located somewhere else. There should also probably be a I'll also copy @wesleywiser's last comment, which seemed like a good summary:
|
I noticed that, on tonight's nightly, the contents of Is this expected? |
@dancrossnyc, there was a regression in the latest nightly, see #130291. It should be fixed in the next nightly tonight. |
Good to go. Thank you, Eric! |
I just updated to llvm19 and now grcov is complaining about mismatching versions for llvm-profdata and the raw data. I wondered how the bins are updated and where I could follow updates? |
This is a tracking issue for the llvm-tools-preview.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Details
llvm-tools-preview is a rustup component that contains some LLVM tools. At the time of this writing, it contains the following:
Steps
Unresolved Questions
-preview
?llvm-tools
component was inadvertently made available. It is likely de facto stable now. See comment below.Implementation history
-preview
llvm-dis
,llc
andopt
inllvm-tools-preview
component #77868 Added llvm-dis, llc, optThe text was updated successfully, but these errors were encountered: