llvm-project
1c4f335e - [PAC][lld] Use braa instr in PAC PLT sequence with valid PAuth core info (#113945)

Commit
318 days ago
[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.
Author
Parents
Loading