about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-09-22 08:22:27 +0200
committerRalf Jung <post@ralfj.de>2024-09-22 08:22:27 +0200
commit96cb08d4990e197c67dfba9e94849ee32c00da93 (patch)
tree5480d57e2330e919db6d1179af485c4cbd888453 /compiler/rustc_codegen_llvm/src/attributes.rs
parentb4c7ce55a79cb714a46691a02f2240d8dc251faf (diff)
parent6ce376774c0bc46ac8be247bca93ff5a1287a8fc (diff)
downloadrust-96cb08d4990e197c67dfba9e94849ee32c00da93.tar.gz
rust-96cb08d4990e197c67dfba9e94849ee32c00da93.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/attributes.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_llvm/src/attributes.rs b/compiler/rustc_codegen_llvm/src/attributes.rs
index 6df63eec513..489259da856 100644
--- a/compiler/rustc_codegen_llvm/src/attributes.rs
+++ b/compiler/rustc_codegen_llvm/src/attributes.rs
@@ -483,9 +483,6 @@ pub(crate) fn llfn_attrs_from_instance<'ll, 'tcx>(
         let allocated_pointer = AttributeKind::AllocatedPointer.create_attr(cx.llcx);
         attributes::apply_to_llfn(llfn, AttributePlace::Argument(0), &[allocated_pointer]);
     }
-    if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::CMSE_NONSECURE_ENTRY) {
-        to_add.push(llvm::CreateAttrString(cx.llcx, "cmse_nonsecure_entry"));
-    }
     if let Some(align) = codegen_fn_attrs.alignment {
         llvm::set_alignment(llfn, align);
     }