Skip to content

Commit

Permalink
Include llvm-dis, llc and opt in llvm-tools-preview component
Browse files Browse the repository at this point in the history
Fixes #55890

It's useful to have `llc` and `opt` available when debugging an LLVM
miscompilation,.
  • Loading branch information
Aaron1011 committed Oct 12, 2020
1 parent f3ab6f0 commit c16c8ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ const LLVM_TOOLS: &[&str] = &[
"llvm-size", // used to prints the size of the linker sections of a program
"llvm-strip", // used to discard symbols from binary files to reduce their size
"llvm-ar", // used for creating and modifying archive files
"llvm-dis", // used to disassemble LLVM bitcode
"llc", // used to compile LLVM bytecode
"opt", // used to optimize LLVM bytecode
];

/// A structure representing a Rust compiler.
Expand Down

0 comments on commit c16c8ac

Please sign in to comment.