[MachO] Add the relocation types for auth pointers (chained fixups).
authorDavide Italiano <ditaliano@apple.com>
Wed, 31 May 2023 02:15:41 +0000 (19:15 -0700)
committerDavide Italiano <ditaliano@apple.com>
Wed, 31 May 2023 02:15:41 +0000 (19:15 -0700)
llvm/include/llvm/BinaryFormat/MachO.h

index d51af31..474480f 100644 (file)
@@ -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