[llvm] [PAC][AArch64][llvm-readobj] Add missing tests for AUTH relocs (NFC) (PR #86511)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 07:52:09 PDT 2024
https://github.com/kovdan01 created https://github.com/llvm/llvm-project/pull/86511
Add missing tests for AUTH relocs defined in #74874
>From 5825bdca2cf649c1a9d1d912a6dd31c2597a1ec1 Mon Sep 17 00:00:00 2001
From: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: Mon, 25 Mar 2024 17:46:12 +0300
Subject: [PATCH] [PAC][AArch64][llvm-readobj] Add missing tests for AUTH
relocs (NFC)
Add missing tests for AUTH relocs defined in #74874
---
llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test b/llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test
index 7291282811048f..cf95b517002674 100644
--- a/llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test
+++ b/llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test
@@ -119,6 +119,7 @@
# CHECK: Type: R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC (571)
# CHECK: Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12 (572)
# CHECK: Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC (573)
+# CHECK: Type: R_AARCH64_AUTH_ABS64 (580)
# CHECK: Type: R_AARCH64_COPY (1024)
# CHECK: Type: R_AARCH64_GLOB_DAT (1025)
# CHECK: Type: R_AARCH64_JUMP_SLOT (1026)
@@ -128,6 +129,7 @@
# CHECK: Type: R_AARCH64_TLS_TPREL64 (1030)
# CHECK: Type: R_AARCH64_TLSDESC (1031)
# CHECK: Type: R_AARCH64_IRELATIVE (1032)
+# CHECK: Type: R_AARCH64_AUTH_RELATIVE (1041)
--- !ELF
FileHeader:
@@ -254,6 +256,7 @@ Sections:
- Type: R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC
- Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12
- Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC
+ - Type: R_AARCH64_AUTH_ABS64
- Type: R_AARCH64_COPY
- Type: R_AARCH64_GLOB_DAT
- Type: R_AARCH64_JUMP_SLOT
@@ -263,3 +266,4 @@ Sections:
- Type: R_AARCH64_TLS_TPREL64
- Type: R_AARCH64_TLSDESC
- Type: R_AARCH64_IRELATIVE
+ - Type: R_AARCH64_AUTH_RELATIVE
More information about the llvm-commits
mailing list