[llvm] f0c0116 - [test][llvm-objdump][AArch64] Add tests for ELF AUTH constants (#74298)

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 9 12:52:03 PST 2023


Author: Daniil Kovalev
Date: 2023-12-09T23:51:59+03:00
New Revision: f0c0116c4896fe50a77ca72942b05d06f14841c7

URL: https://github.com/llvm/llvm-project/commit/f0c0116c4896fe50a77ca72942b05d06f14841c7
DIFF: https://github.com/llvm/llvm-project/commit/f0c0116c4896fe50a77ca72942b05d06f14841c7.diff

LOG: [test][llvm-objdump][AArch64] Add tests for ELF AUTH constants (#74298)

This patch introduces llvm-objdump tests for new `AARCH64_AUTH_RELR`,
`AARCH64_AUTH_RELRSZ` and `AARCH64_AUTH_RELRENT` dynamic tags.

Depends on https://github.com/llvm/llvm-project/pull/74874

Added: 
    

Modified: 
    llvm/test/tools/llvm-objdump/ELF/dynamic-section-machine-specific.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-objdump/ELF/dynamic-section-machine-specific.test b/llvm/test/tools/llvm-objdump/ELF/dynamic-section-machine-specific.test
index 20219dd4893b77..203c210eb46a3e 100644
--- a/llvm/test/tools/llvm-objdump/ELF/dynamic-section-machine-specific.test
+++ b/llvm/test/tools/llvm-objdump/ELF/dynamic-section-machine-specific.test
@@ -268,6 +268,9 @@ ProgramHeaders:
 # AARCH64:      Dynamic Section:
 # AARCH64-NEXT:  AARCH64_BTI_PLT      0x0000000000000001
 # AARCH64-NEXT:  AARCH64_PAC_PLT      0x0000000000000002
+# AARCH64-NEXT:  AARCH64_AUTH_RELR    0x0000000000000003
+# AARCH64-NEXT:  AARCH64_AUTH_RELRSZ  0x0000000000000004
+# AARCH64-NEXT:  AARCH64_AUTH_RELRENT 0x0000000000000005
 
 --- !ELF
 FileHeader:
@@ -283,6 +286,12 @@ Sections:
         Value: 1
       - Tag:   DT_AARCH64_PAC_PLT
         Value: 2
+      - Tag:   DT_AARCH64_AUTH_RELR
+        Value: 3
+      - Tag:   DT_AARCH64_AUTH_RELRSZ
+        Value: 4
+      - Tag:   DT_AARCH64_AUTH_RELRENT
+        Value: 5
       - Tag:   DT_NULL
         Value: 0
 ProgramHeaders:


        


More information about the llvm-commits mailing list