Function core::arch::aarch64::__arm_mte_set_tag

source ·
pub unsafe fn __arm_mte_set_tag<T>(tag_address: *const T)
🔬This is a nightly-only experimental API. (stdarch_aarch64_mte #129010)
Available on (AArch64 or target_arch="arm64ec") and target feature mte only.
Expand description

Store an allocation tag for the 16-byte granule of memory.

tag_address: A pointer containing an address and a logical tag, which must be 16-byte aligned.

SAFETY: tag_address must be 16-byte aligned. The tag will apply to the entire 16-byte memory granule.