Open
Description
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:
- llc
- llvm-ar
- llvm-as
- llvm-cov
- llvm-dis
- llvm-nm
- llvm-objcopy
- llvm-objdump
- llvm-profdata
- llvm-readobj
- llvm-size
- llvm-strip
- opt
Steps
- Write some documentation (not sure where this should live)
Unresolved Questions
- What will it take to transition out of
-preview
?- NOTE: The
llvm-tools
component was inadvertently made available. It is likely de facto stable now. See comment below.
- NOTE: The
- What is the stability story? See comment below.
- Where will this be documented?
- Who is responsible for the component?
- Which directory should the component files live?
Implementation history
- Ship more LLVM tools with the Rust toolchain #49584 Original issue
- ship LLVM tools with the toolchain #50336 Added tools
- rename the llvm-tools component to llvm-tools-preview and tweak its image #51922 Renamed to
-preview
- Provide llvm-strip in llvm-tools component #51962 Added llvm-strip
- add llvm-readobj to llvm-tools-preview #53740 Added llvm-readobj
- Include llvm-ar with llvm-tools component #59351 Added llvm-ar
- Move the target libLLVM to llvm-tools-preview #72000 Moved libLLVM.so around
- Include
llvm-dis
,llc
andopt
inllvm-tools-preview
component #77868 Added llvm-dis, llc, opt - Ship llvm-cov through llvm-tools #78947 Added llvm-cov
- Include llvm-as in llvm-tools-preview component #78968 Added llvm-as