pub struct Flags { /* private fields */ }
arm64
only.Expand description
Flags group arm64
.
Implementations§
Source§impl Flags
User-defined settings.
impl Flags
User-defined settings.
Sourcepub fn predicate_view(&self) -> PredicateView<'_>
pub fn predicate_view(&self) -> PredicateView<'_>
Get a view of the boolean predicates.
Sourcepub fn has_pauth(&self) -> bool
pub fn has_pauth(&self) -> bool
Has Pointer authentication (FEAT_PAuth) support; enables the use of non-HINT instructions, but does not have an effect on code generation by itself.
Sourcepub fn sign_return_address_all(&self) -> bool
pub fn sign_return_address_all(&self) -> bool
If function return address signing is enabled, then apply it to all functions; does not have an effect on code generation by itself.
Sourcepub fn sign_return_address(&self) -> bool
pub fn sign_return_address(&self) -> bool
Use pointer authentication instructions to sign function return addresses; HINT-space instructions using the A key are generated and simple functions that do not use the stack are not affected unless overridden by other settings.
Sourcepub fn sign_return_address_with_bkey(&self) -> bool
pub fn sign_return_address_with_bkey(&self) -> bool
Use the B key with pointer authentication instructions instead of the default A key; does not have an effect on code generation by itself. Some platform ABIs may require this, for example.