We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d79783 commit 0fb92bdCopy full SHA for 0fb92bd
1 file changed
compiler/rustc_codegen_llvm/src/consts.rs
@@ -120,8 +120,8 @@ pub(crate) fn const_alloc_to_llvm<'ll>(
120
as u64;
121
122
let address_space = cx.tcx.global_alloc(prov.alloc_id()).address_space(cx);
123
- // For aarch64-unknown-linux-pauthtest function pointers stored in init/fini arrays need
124
- // special handling.
+ // Under pointer authentication, function pointers stored in init/fini arrays need special
+ // handling.
125
let pac_metadata = Some(
126
if cx.sess().target.env == Env::Pauthtest && matches!(is_init_fini, IsInitOrFini::Yes) {
127
PacMetadata {
0 commit comments