[lld] [LLD][COFF] Add ARM64EC support to findLineTable. (PR #87240)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 11:41:24 PDT 2024


================
@@ -1735,6 +1735,8 @@ static uint32_t getSecrelReloc(llvm::COFF::MachineTypes machine) {
   case ARMNT:
     return COFF::IMAGE_REL_ARM_SECREL;
   case ARM64:
+  case ARM64EC:
+  case ARM64X:
----------------
efriedma-quic wrote:

Does it really make sense to handle "ARM64X" here?  Even if you're linking for "arm64x", a given section should be either Arm64 (and needs arm64 relocs) or x64 (and needs x64 relocs).

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


More information about the llvm-commits mailing list