[llvm] f97d3ba - [JITLink] Revert template typename change after 2a3b257a935a (NFC)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 1 02:26:50 PDT 2022
Author: Stefan Gränitz
Date: 2022-11-01T10:20:29+01:00
New Revision: f97d3ba269b531aa7cdc1a875e4d8d8f45fb604e
URL: https://github.com/llvm/llvm-project/commit/f97d3ba269b531aa7cdc1a875e4d8d8f45fb604e
DIFF: https://github.com/llvm/llvm-project/commit/f97d3ba269b531aa7cdc1a875e4d8d8f45fb604e.diff
LOG: [JITLink] Revert template typename change after 2a3b257a935a (NFC)
As pointed out in the review https://reviews.llvm.org/D135523#C3696894NL515
Added:
Modified:
llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h b/llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
index 8513283febc73..953a9f512784b 100644
--- a/llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
+++ b/llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
@@ -512,9 +512,9 @@ template <typename ELFT> Error ELFLinkGraphBuilder<ELFT>::graphifySymbols() {
}
template <typename ELFT>
-template <typename RelocHandlerMethod>
+template <typename RelocHandlerFunction>
Error ELFLinkGraphBuilder<ELFT>::forEachRelaRelocation(
- const typename ELFT::Shdr &RelSect, RelocHandlerMethod &&Func,
+ const typename ELFT::Shdr &RelSect, RelocHandlerFunction &&Func,
bool ProcessDebugSections) {
// Only look into sections that store relocation entries.
if (RelSect.sh_type != ELF::SHT_RELA)
@@ -559,9 +559,9 @@ Error ELFLinkGraphBuilder<ELFT>::forEachRelaRelocation(
}
template <typename ELFT>
-template <typename RelocHandlerMethod>
+template <typename RelocHandlerFunction>
Error ELFLinkGraphBuilder<ELFT>::forEachRelRelocation(
- const typename ELFT::Shdr &RelSect, RelocHandlerMethod &&Func,
+ const typename ELFT::Shdr &RelSect, RelocHandlerFunction &&Func,
bool ProcessDebugSections) {
// Only look into sections that store relocation entries.
if (RelSect.sh_type != ELF::SHT_REL)
More information about the llvm-commits
mailing list