[all-commits] [llvm/llvm-project] 969185: [JITLink] Factor out forEachRelocation() function ...
Stefan Gränitz via All-commits
all-commits at lists.llvm.org
Mon Sep 13 05:59:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96918515827be5732d1016d38767da1870107075
https://github.com/llvm/llvm-project/commit/96918515827be5732d1016d38767da1870107075
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2021-09-13 (Mon, 13 Sep 2021)
Changed paths:
M llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
M llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
Log Message:
-----------
[JITLink] Factor out forEachRelocation() function from addRelocations() in ELF Aarch64 backend (NFC)
First step in reducing redundancy in `addRelocations()` implementations across ELF JITLink backends. The patch factors out common logic for ELF relocation traversal into the new helper function `forEachRelocation()` in the `ELFLinkGraphBuilder` base class. For now, this is applied to the Aarch64 implementation. Others may follow soon.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D109516
More information about the All-commits
mailing list