about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-10-14 06:02:31 +0900
committerGitHub <noreply@github.com>2020-10-14 06:02:31 +0900
commitc82478719bc2cd5ef2c1bf9d493d871fa6b59384 (patch)
tree99cff5e762b5b282f8f7b29340c3ae7201b1d196 /src
parentc44cc7e236b00b361f2ffc133c3c0b6d0f3066e0 (diff)
parentc16c8acae13e1a3b29b222fdb0be11244dc65937 (diff)
downloadrust-c82478719bc2cd5ef2c1bf9d493d871fa6b59384.tar.gz
rust-c82478719bc2cd5ef2c1bf9d493d871fa6b59384.zip
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,.
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 493bfff9181..22a8e828862 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -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;