[llvm] c22b110 - [JITLink][ELF][x86-64] Use the right edge-naming function for debugging output.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 4 22:14:19 PST 2021
Author: Lang Hames
Date: 2021-12-05T17:12:39+11:00
New Revision: c22b110612600b0d0a8003f40b1cf6e37c4696c2
URL: https://github.com/llvm/llvm-project/commit/c22b110612600b0d0a8003f40b1cf6e37c4696c2
DIFF: https://github.com/llvm/llvm-project/commit/c22b110612600b0d0a8003f40b1cf6e37c4696c2.diff
LOG: [JITLink][ELF][x86-64] Use the right edge-naming function for debugging output.
Graph edges use the generic x86-64 edge set (the ELF specific edges are only
used during parsing).
Added:
Modified:
llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp b/llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
index 3ea9ffee65546..072ecd5885db5 100644
--- a/llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
+++ b/llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
@@ -252,7 +252,7 @@ class ELFLinkGraphBuilder_x86_64 : public ELFLinkGraphBuilder<object::ELF64LE> {
Edge GE(Kind, Offset, *GraphSymbol, Addend);
LLVM_DEBUG({
dbgs() << " ";
- printEdge(dbgs(), *BlockToFix, GE, getELFX86RelocationKindName(Kind));
+ printEdge(dbgs(), *BlockToFix, GE, x86_64::getEdgeKindName(Kind));
dbgs() << "\n";
});
More information about the llvm-commits
mailing list