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,.
This commit is contained in:
Aaron Hill 2020-10-12 16:02:48 -04:00
parent f3ab6f0584
commit c16c8acae1
No known key found for this signature in database
GPG Key ID: B4087E510E98B164

View File

@ -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.