Skip to content

Commit 9f48bb6

Browse files
committed
[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.
1 parent 9c5001e commit 9f48bb6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ namespace jitlink {
2626
class EHFrameEdgeFixer {
2727
public:
2828
/// Create an eh-frame edge fixer.
29+
/// Adds edges for implicit relocations on platforms where these are used
30+
/// (e.g. MachO/x86-64).
31+
///
2932
/// If a given edge-kind is not supported on the target architecture then
3033
/// Edge::Invalid should be used.
3134
EHFrameEdgeFixer(StringRef EHFrameSectionName, unsigned PointerSize,

0 commit comments

Comments
 (0)