about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-11-15 03:02:49 +0100
committerGitHub <noreply@github.com>2020-11-15 03:02:49 +0100
commit3fe2abafe53b68447cc47b2c19d3a98cfeed0aff (patch)
treeb0f787b80f32ea7425bd24a9473fe2b4ca59e3b1 /src
parent6be44ed3b5f3c60476da5698c48f02d79364db14 (diff)
parente4a43fce3bdf7959408c186e1d3f21bf0400b546 (diff)
downloadrust-3fe2abafe53b68447cc47b2c19d3a98cfeed0aff.tar.gz
rust-3fe2abafe53b68447cc47b2c19d3a98cfeed0aff.zip
Rollup merge of #78968 - zec:add-llvm-as, r=Mark-Simulacrum
Include llvm-as in llvm-tools-preview component

Including `llvm-as` adds the ability to include assembly language fragments that can be inlined using LTO while making sure the correct version of LLVM is always used.
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 9f037890483..ca140b9d278 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -178,6 +178,7 @@ 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-as",       // used to convert LLVM assembly to LLVM bitcode
     "llvm-dis",      // used to disassemble LLVM bitcode
     "llc",           // used to compile LLVM bytecode
     "opt",           // used to optimize LLVM bytecode