From a04f1d2740222598f7cef0e6a0e27c4200a00f94 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 30 May 2023 19:15:41 -0700 Subject: [PATCH] [MachO] Add the relocation types for auth pointers (chained fixups). --- llvm/include/llvm/BinaryFormat/MachO.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/include/llvm/BinaryFormat/MachO.h b/llvm/include/llvm/BinaryFormat/MachO.h index d51af31..474480f 100644 --- a/llvm/include/llvm/BinaryFormat/MachO.h +++ b/llvm/include/llvm/BinaryFormat/MachO.h @@ -473,6 +473,8 @@ enum RelocationInfoType { ARM64_RELOC_TLVP_LOAD_PAGEOFF12 = 9, // Must be followed by ARM64_RELOC_PAGE21 or ARM64_RELOC_PAGEOFF12. ARM64_RELOC_ADDEND = 10, + // An authenticated pointer. + ARM64_RELOC_AUTHENTICATED_POINTER = 11, // Constant values for the r_type field in an x86_64 architecture // llvm::MachO::relocation_info or llvm::MachO::scattered_relocation_info -- 2.7.4