[llvm] [llvm-readobj][AArch64][ELF][PAC] Support ELF AUTH constants (PR #72713)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 10:57:01 PST 2023


================
@@ -6208,6 +6263,13 @@ void ELFDumper<ELFT>::forEachRelocationDo(
       Warn(RangeOrErr.takeError());
     }
     break;
+  case ELF::SHT_AARCH64_AUTH_RELR:
+    if (Obj.getHeader().e_machine != EM_AARCH64) {
+      this->reportUniqueWarning(
----------------
MaskRay wrote:

Testing `EHeader.e_machine == EM_AARCH64 && SType == ELF::SHT_AARCH64_AUTH_RELR` is reasonable. 

https://github.com/llvm/llvm-project/pull/72713


More information about the llvm-commits mailing list