]> git.lizzy.rs Git - rust.git/commitdiff
whitelist some ARM features
authorJorge Aparicio <jorge@japaric.io>
Mon, 3 Sep 2018 14:52:43 +0000 (16:52 +0200)
committerJorge Aparicio <jorge@japaric.io>
Mon, 3 Sep 2018 14:52:43 +0000 (16:52 +0200)
src/librustc_codegen_llvm/llvm_util.rs

index 9fcc33d82cfa4d1ea751db891308dc3680eda081..c23f4387df16f6a8a8675d24a9046c11e105eb4b 100644 (file)
@@ -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")),