LLVM 20.0.0git
|
A LinkGraph pass that adds missing FDE-to-CIE, FDE-to-PC and FDE-to-LSDA edges. More...
#include "ExecutionEngine/JITLink/EHFrameSupportImpl.h"
Public Member Functions | |
EHFrameEdgeFixer (StringRef EHFrameSectionName, unsigned PointerSize, Edge::Kind Pointer32, Edge::Kind Pointer64, Edge::Kind Delta32, Edge::Kind Delta64, Edge::Kind NegDelta32) | |
Create an eh-frame edge fixer. | |
Error | operator() (LinkGraph &G) |
A LinkGraph pass that adds missing FDE-to-CIE, FDE-to-PC and FDE-to-LSDA edges.
Definition at line 26 of file EHFrameSupportImpl.h.
llvm::jitlink::EHFrameEdgeFixer::EHFrameEdgeFixer | ( | StringRef | EHFrameSectionName, |
unsigned | PointerSize, | ||
Edge::Kind | Pointer32, | ||
Edge::Kind | Pointer64, | ||
Edge::Kind | Delta32, | ||
Edge::Kind | Delta64, | ||
Edge::Kind | NegDelta32 | ||
) |
Create an eh-frame edge fixer.
If a given edge-kind is not supported on the target architecture then Edge::Invalid should be used.
Definition at line 22 of file EHFrameSupport.cpp.
Definition at line 30 of file EHFrameSupport.cpp.
References B, llvm::dbgs(), G, llvm::jitlink::BlockAddressMap::includeNonNull(), LHS, LLVM_DEBUG, RHS, llvm::sort(), llvm::Error::success(), and Sym.