[PATCH] D126286: [JITLink] [ELF/AARCH64] Generic aarch64 patch fixups

Sunho Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 03:30:36 PDT 2022


sunho created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
sunho requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch simply moves aarch64 patch up logic from macho/aarch64 backend to aarch64.h file so that other aarch64 jitlink backend (ELF/AARCH64) can reuse the code. The fixup edges are idenetical to those of macho/aarch64 right now, as we don't know how much of them will be used by some target yet. But, I think this is a good initial start as Branch26, Page21, and PageOffset12 can be used verbatim in elf/aarch64 backend/


https://reviews.llvm.org/D126286

Files:
  llvm/include/llvm/ExecutionEngine/JITLink/ELF_aarch64.h
  llvm/include/llvm/ExecutionEngine/JITLink/MachO_arm64.h
  llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
  llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
  llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  llvm/lib/ExecutionEngine/JITLink/aarch64.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126286.431630.patch
Type: text/x-patch
Size: 38990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220524/39262575/attachment.bin>


More information about the llvm-commits mailing list