diff options
author | Daniil Kovalev <dkovalev@accesssoftek.com> | 2024-08-06 18:24:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 18:24:01 +0300 |
commit | 15d4a84e7977725dc0661995963a12ff8605b03c (patch) | |
tree | 931abb46a35401874fc1d235fd8dad2ab4310c97 /llvm/lib/IR/Module.cpp | |
parent | 9684c87d1402ea9327c1abd7f56bafed8e751f51 (diff) | |
download | llvm-15d4a84e7977725dc0661995963a12ff8605b03c.zip llvm-15d4a84e7977725dc0661995963a12ff8605b03c.tar.gz llvm-15d4a84e7977725dc0661995963a12ff8605b03c.tar.bz2 |
[PAC][ELF][AArch64] Encode signed GOT flag in PAuth core info (#96159)
Treat 8th bit of version value for llvm_linux platform as signed GOT
flag.
- clang: define `PointerAuthELFGOT` LangOption and set 8th bit of
`aarch64-elf-pauthabi-version` LLVM module flag correspondingly;
- llvm-readobj: print `PointerAuthELFGOT` or `!PointerAuthELFGOT` in
version description of llvm_linux platform depending on whether the flag
is set.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions