about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-09-03 16:52:43 +0200
committerJorge Aparicio <jorge@japaric.io>2018-09-03 16:52:43 +0200
commitbac0eb2f37e13fb3491507a8deaa344afb8e2de9 (patch)
tree2180e9e247dbb412f9404906ed2a5786c1abdd59
parent591a17d3d90d6cab51200a0e696f0d8ca63c2f87 (diff)
downloadrust-bac0eb2f37e13fb3491507a8deaa344afb8e2de9.tar.gz
rust-bac0eb2f37e13fb3491507a8deaa344afb8e2de9.zip
whitelist some ARM features
-rw-r--r--src/librustc_codegen_llvm/llvm_util.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs
index 9fcc33d82cf..c23f4387df1 100644
--- a/src/librustc_codegen_llvm/llvm_util.rs
+++ b/src/librustc_codegen_llvm/llvm_util.rs
@@ -86,10 +86,14 @@ unsafe fn configure_llvm(sess: &Session) {
 // array, leading to crashes.
 
 const ARM_WHITELIST: &[(&str, Option<&str>)] = &[
+    ("aclass", Some("arm_target_feature")),
     ("mclass", Some("arm_target_feature")),
     ("rclass", Some("arm_target_feature")),
     ("dsp", Some("arm_target_feature")),
     ("neon", Some("arm_target_feature")),
+    ("v5te", Some("arm_target_feature")),
+    ("v6k", Some("arm_target_feature")),
+    ("v6t2", Some("arm_target_feature")),
     ("v7", Some("arm_target_feature")),
     ("vfp2", Some("arm_target_feature")),
     ("vfp3", Some("arm_target_feature")),