Skip to content

Commit c16c8ac

Browse files
committed
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,.
1 parent f3ab6f0 commit c16c8ac

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
/// A structure representing a Rust compiler.

0 commit comments

Comments
 (0)