From bac0eb2f37e13fb3491507a8deaa344afb8e2de9 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 3 Sep 2018 16:52:43 +0200 Subject: [PATCH] whitelist some ARM features --- src/librustc_codegen_llvm/llvm_util.rs | 4 ++++ 1 file changed, 4 insertions(+) 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")), -- 2.44.0