Skip to content

Commit c824787

Browse files
authored
Rollup merge of #77868 - Aaron1011:llvm-tools-opt-llc, r=Mark-Simulacrum
Include `llvm-dis`, `llc` and `opt` in `llvm-tools-preview` component Fixes #55890 It's useful to have `llc` and `opt` available when debugging an LLVM miscompilation,.
2 parents c44cc7e + c16c8ac commit c824787

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ const LLVM_TOOLS: &[&str] = &[
177177
"llvm-size", // used to prints the size of the linker sections of a program
178178
"llvm-strip", // used to discard symbols from binary files to reduce their size
179179
"llvm-ar", // used for creating and modifying archive files
180+
"llvm-dis", // used to disassemble LLVM bitcode
181+
"llc", // used to compile LLVM bytecode
182+
"opt", // used to optimize LLVM bytecode
180183
];
181184

182185
pub const VERSION: usize = 2;

0 commit comments

Comments
 (0)