Skip to content

Commit

Permalink
Rollup merge of rust-lang#77868 - Aaron1011:llvm-tools-opt-llc, r=Mar…
Browse files Browse the repository at this point in the history
…k-Simulacrum

Include `llvm-dis`, `llc` and `opt` in `llvm-tools-preview` component

Fixes rust-lang#55890

It's useful to have `llc` and `opt` available when debugging an LLVM
miscompilation,.
  • Loading branch information
JohnTitor authored Oct 13, 2020
2 parents 807b981 + c16c8ac commit 71340d5
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
];

pub const VERSION: usize = 2;
Expand Down

0 comments on commit 71340d5

Please sign in to comment.