diff options
| author | Hugues de Valon <hugues.devalon@arm.com> | 2021-01-24 17:15:05 +0000 |
|---|---|---|
| committer | Hugues de Valon <hugues.devalon@arm.com> | 2021-02-02 13:04:31 +0000 |
| commit | 5bdc56c00cfc5d675e628e346e493bd619aed46f (patch) | |
| tree | 44e30afd624ad7f99cb1ccf0502029b5063a065c /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | 02e1fd48d183c9a28dc7f78b68fded919a1b9338 (diff) | |
| download | rust-5bdc56c00cfc5d675e628e346e493bd619aed46f.tar.gz rust-5bdc56c00cfc5d675e628e346e493bd619aed46f.zip | |
Add a new ABI to support cmse_nonsecure_call
This commit adds a new ABI to be selected via `extern "C-cmse-nonsecure-call"` on function pointers in order for the compiler to apply the corresponding cmse_nonsecure_call callsite attribute. For Armv8-M targets supporting TrustZone-M, this will perform a non-secure function call by saving, clearing and calling a non-secure function pointer using the BLXNS instruction. See the page on the unstable book for details. Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
