[all-commits] [llvm/llvm-project] 185fdf: [PAC][CodeGen][ELF][AArch64] Support signed TLSDESC
Daniil Kovalev via All-commits
all-commits at lists.llvm.org
Sun Dec 15 07:40:42 PST 2024
Branch: refs/heads/users/kovdan01/pauth-signed-tlsdesc-codegen
Home: https://github.com/llvm/llvm-project
Commit: 185fdf90b1eb8473a9ac03e4d1a1c648fa7f5c89
https://github.com/llvm/llvm-project/commit/185fdf90b1eb8473a9ac03e4d1a1c648fa7f5c89
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64MCInstLower.cpp
M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
A llvm/test/CodeGen/AArch64/ptrauth-arm64-tls-dynamics.ll
M llvm/test/MC/AArch64/arm64-elf-relocs.s
M llvm/test/MC/AArch64/ilp32-diagnostics.s
Log Message:
-----------
[PAC][CodeGen][ELF][AArch64] Support signed TLSDESC
Support the following relocations and assembly operators:
- `R_AARCH64_AUTH_TLSDESC_ADR_PAGE21` (`:tlsdesc_auth:` for `adrp`)
- `R_AARCH64_AUTH_TLSDESC_LD64_LO12` (`:tlsdesc_auth_lo12:` for `ldr`)
- `R_AARCH64_AUTH_TLSDESC_ADD_LO12` (`:tlsdesc_auth_lo12:` for `add`)
`TLSDESC_AUTH_CALLSEQ` pseudo-instruction is introduced which is later expanded
to actual instruction sequence like the following.
```
adrp x0, :tlsdesc_auth:var
ldr x16, [x0, #:tlsdesc_auth_lo12:var]
add x0, x0, #:tlsdesc_auth_lo12:var
.tlsdesccall var
blraa x16, x0
(TPIDR_EL0 offset now in x0)
```
Only SelectionDAG ISel is supported.
Tests starting with 'ptrauth-' have corresponding variants w/o this prefix.
Commit: 0f8b9ffd3264ad226f0ed84e3b81acf09193d639
https://github.com/llvm/llvm-project/commit/0f8b9ffd3264ad226f0ed84e3b81acf09193d639
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M llvm/test/MC/AArch64/ilp32-diagnostics.s
Log Message:
-----------
Check error line number in test
Commit: 9ea8cdd34443d45daa8c8da82e0224db7d38b20c
https://github.com/llvm/llvm-project/commit/9ea8cdd34443d45daa8c8da82e0224db7d38b20c
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/test/CodeGen/AArch64/ptrauth-arm64-tls-dynamics.ll
Log Message:
-----------
Do not emit .tlsdesccall for AUTH TLSDESC
Commit: a6df50b1f7347fc3e5ab761c7b0d12e620c384ea
https://github.com/llvm/llvm-project/commit/a6df50b1f7347fc3e5ab761c7b0d12e620c384ea
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
Log Message:
-----------
Fix comment
Commit: 027e655d82080fef9342762d50acc05aceb762fb
https://github.com/llvm/llvm-project/commit/027e655d82080fef9342762d50acc05aceb762fb
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64MCInstLower.cpp
M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
M llvm/test/MC/AArch64/arm64-elf-relocs.s
M llvm/test/MC/AArch64/ilp32-diagnostics.s
Log Message:
-----------
Move MC support to different patch
Compare: https://github.com/llvm/llvm-project/compare/cf96e452afb6...027e655d8208
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list