[PATCH] D109516: [JITLink] Factor out forEachRelocation() function from addRelocations() in ELF Aarch64 backend (NFC)

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 9 08:57:59 PDT 2021


sgraenitz created this revision.
sgraenitz added a reviewer: lhames.
Herald added subscribers: hiraditya, kristof.beyls.
sgraenitz requested review of this revision.
Herald added a project: LLVM.

This patch is a first step in reducing redundancy in `addRelocations()` implementations across ELF JITLink backends. It factors out common logic for ELF relocation traversal into the new helper function `forEachRelocation()` in the `ELFLinkGraphBuilder` base class.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109516

Files:
  llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
  llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109516.371613.patch
Type: text/x-patch
Size: 7876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210909/68978375/attachment.bin>


More information about the llvm-commits mailing list