Skip to content

Commit 0fb92bd

Browse files
committed
TODO: Add to INIT/FINI
1 parent 0d79783 commit 0fb92bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compiler/rustc_codegen_llvm/src/consts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ pub(crate) fn const_alloc_to_llvm<'ll>(
120120
as u64;
121121

122122
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.
123+
// Under pointer authentication, function pointers stored in init/fini arrays need special
124+
// handling.
125125
let pac_metadata = Some(
126126
if cx.sess().target.env == Env::Pauthtest && matches!(is_init_fini, IsInitOrFini::Yes) {
127127
PacMetadata {

0 commit comments

Comments
 (0)