diff options
author | Daniil Kovalev <dkovalev@accesssoftek.com> | 2024-11-18 08:07:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 08:07:33 +0300 |
commit | 1c4f335ec29c6bb269d0f8b2d6149d439312c69a (patch) | |
tree | 16ed8c6d922bad780a08a5dc28c89b995fbaaab1 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 686a291cdc909e9ab7c8659aa1cab82d0182d0d2 (diff) | |
download | llvm-1c4f335ec29c6bb269d0f8b2d6149d439312c69a.zip llvm-1c4f335ec29c6bb269d0f8b2d6149d439312c69a.tar.gz llvm-1c4f335ec29c6bb269d0f8b2d6149d439312c69a.tar.bz2 |
[PAC][lld] Use braa instr in PAC PLT sequence with valid PAuth core info (#113945)
Assume PAC instructions being supported with PAuth core info different from (0,0). The (0,0) value means that an ELF file is incompatible with PAuth - see https://github.com/ARM-software/abi-aa/blob/2024Q3/pauthabielf64/pauthabielf64.rst#core-information. With PAC non-hint instructions supported, `autia1716; br x17` can be replaced with `braa x17, x16; nop`, where `braa` is an authenticated branch instruction using IA key, discriminator from x16 and signed target address from x17.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions