about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/llvm_util.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-07-06 17:12:03 -0500
committerJorge Aparicio <jorge@japaric.io>2018-07-06 18:28:38 -0500
commitb7047bb89fca909779d06ef8f3e74ff1ef39e8a8 (patch)
tree570f0ab267b908a759be6300af38494413ec8a74 /src/librustc_codegen_llvm/llvm_util.rs
parent3ea16c3493d1ed7bb085053d4362907ee8d72366 (diff)
downloadrust-b7047bb89fca909779d06ef8f3e74ff1ef39e8a8.tar.gz
rust-b7047bb89fca909779d06ef8f3e74ff1ef39e8a8.zip
ARM: expose the "mclass" target feature
Diffstat (limited to 'src/librustc_codegen_llvm/llvm_util.rs')
-rw-r--r--src/librustc_codegen_llvm/llvm_util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs
index 357b639e788..87ee9ef5adb 100644
--- a/src/librustc_codegen_llvm/llvm_util.rs
+++ b/src/librustc_codegen_llvm/llvm_util.rs
@@ -84,6 +84,7 @@ unsafe fn configure_llvm(sess: &Session) {
 // array, leading to crashes.
 
 const ARM_WHITELIST: &[(&str, Option<&str>)] = &[
+    ("mclass", Some("arm_target_feature")),
     ("neon", Some("arm_target_feature")),
     ("v7", Some("arm_target_feature")),
     ("vfp2", Some("arm_target_feature")),