Skip to content

Commit b189f51

Browse files
committed
Add a comment
1 parent b057906 commit b189f51

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lld/ELF/Arch/AArch64.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,9 @@ AArch64BtiPac::AArch64BtiPac(Ctx &ctx) : AArch64(ctx) {
10181018
// relocations.
10191019
// The PAC PLT entries require dynamic loader support and this isn't known
10201020
// from properties in the objects, so we use the command line flag.
1021+
// By default we only use hint-space instructions, but if we detect the
1022+
// PAuthABI, which requires v8.3-A, we can use the non-hint space
1023+
// instructions.
10211024

10221025
if (ctx.arg.zPacPlt) {
10231026
if (llvm::any_of(ctx.aarch64PauthAbiCoreInfo,

0 commit comments

Comments
 (0)