diff options
| author | Folkert <folkert@folkertdev.nl> | 2024-07-31 21:04:06 +0200 | 
|---|---|---|
| committer | Folkert de Vries <folkert@folkertdev.nl> | 2024-09-21 13:05:21 +0200 | 
| commit | 5722a8078225cff7d420cc6b246706963e707258 (patch) | |
| tree | 7fcf6ea8c2d842ba6db8ee2ef9aba18fa0d11ca1 /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | 1ddd67a79a77590504ba04f5d9528edf9d319df5 (diff) | |
| download | rust-5722a8078225cff7d420cc6b246706963e707258.tar.gz rust-5722a8078225cff7d420cc6b246706963e707258.zip | |
remove `#[cmse_nonsecure_entry]`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/attributes.rs | 3 | 
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); } | 
