[JITLink] Adopt forEachRelocation() helper in ELF x86-64 backend (NFC)
authorStefan Gränitz <stefan.graenitz@gmail.com>
Mon, 20 Sep 2021 13:21:34 +0000 (15:21 +0200)
committerStefan Gränitz <stefan.graenitz@gmail.com>
Mon, 20 Sep 2021 13:46:41 +0000 (15:46 +0200)
commit68914dc99083716d6e9868798c67e73ef35b021e
tree2d109178a1408cdb373a76d4769e4e2251fcfeea
parent6de19ea4b6264e64cea145e00ab66fe1530fc0a0
[JITLink] Adopt forEachRelocation() helper in ELF x86-64 backend (NFC)

Following D109516, this patch re-uses the new helper function for ELF relocation traversal in the x86-64 backend.

Reviewed By: StephenFan

Differential Revision: https://reviews.llvm.org/D109520
llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp