add C-cmse-nonsecure-entry ABI

This commit is contained in:
Folkert de Vries 2024-08-15 09:55:56 +02:00
parent 74fd001cda
commit 1ddd67a79a
17 changed files with 43 additions and 11 deletions

View file

@ -1191,6 +1191,7 @@ pub fn fn_can_unwind(tcx: TyCtxt<'_>, fn_def_id: Option<DefId>, abi: SpecAbi) ->
| RiscvInterruptM
| RiscvInterruptS
| CCmseNonSecureCall
| CCmseNonSecureEntry
| Unadjusted => false,
Rust | RustCall | RustCold | RustIntrinsic => {
tcx.sess.panic_strategy() == PanicStrategy::Unwind