[llvm] 9f48bb6 - [JITLink] Document EHFrameEdgeFixer's handling of implicit relocations. NFC.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 19:46:51 PST 2025
Author: Lang Hames
Date: 2025-01-15T14:20:07+11:00
New Revision: 9f48bb637eeb40e40bb9e2927ea97b58684ece3a
URL: https://github.com/llvm/llvm-project/commit/9f48bb637eeb40e40bb9e2927ea97b58684ece3a
DIFF: https://github.com/llvm/llvm-project/commit/9f48bb637eeb40e40bb9e2927ea97b58684ece3a.diff
LOG: [JITLink] Document EHFrameEdgeFixer's handling of implicit relocations. NFC.
On platfarms where some relocations for eh-frame sections are implicit (e.g.
MachO/x86-64) EHFrameEdgeFixer is responsible for adding edges for the
implicit relocations.
Added:
Modified:
llvm/lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h b/llvm/lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h
index 49fbf650e7a775..841ec9c055a2e6 100644
--- a/llvm/lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h
+++ b/llvm/lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h
@@ -26,6 +26,9 @@ namespace jitlink {
class EHFrameEdgeFixer {
public:
/// Create an eh-frame edge fixer.
+ /// Adds edges for implicit relocations on platforms where these are used
+ /// (e.g. MachO/x86-64).
+ ///
/// If a given edge-kind is not supported on the target architecture then
/// Edge::Invalid should be used.
EHFrameEdgeFixer(StringRef EHFrameSectionName, unsigned PointerSize,
More information about the llvm-commits
mailing list