|
LLVM
10.0.0
|
Base class for a JIT linker. More...
#include "ExecutionEngine/JITLink/JITLinkGeneric.h"
Classes | |
| struct | SegmentLayout |
Public Member Functions | |
| JITLinkerBase (std::unique_ptr< JITLinkContext > Ctx, PassConfiguration Passes) | |
| virtual | ~JITLinkerBase () |
Protected Types | |
| using | SegmentLayoutMap = DenseMap< unsigned, SegmentLayout > |
Protected Member Functions | |
| void | linkPhase1 (std::unique_ptr< JITLinkerBase > Self) |
| void | linkPhase2 (std::unique_ptr< JITLinkerBase > Self, Expected< AsyncLookupResult > LookupResult, SegmentLayoutMap Layout) |
| void | linkPhase3 (std::unique_ptr< JITLinkerBase > Self, Error Err) |
| virtual Expected< std::unique_ptr< LinkGraph > > | buildGraph (MemoryBufferRef ObjBuffer)=0 |
| virtual StringRef | getEdgeKindName (Edge::Kind K) const =0 |
Static Protected Member Functions | |
| static JITTargetAddress | alignToBlock (JITTargetAddress Addr, Block &B) |
| static char * | alignToBlock (char *P, Block &B) |
Base class for a JIT linker.
A JITLinkerBase instance links one object file into an ongoing JIT session. Symbol resolution and finalization operations are pluggable, and called using continuation passing (passing a continuation for the remaining linker work) to allow them to be performed asynchronously.
Definition at line 33 of file JITLinkGeneric.h.
|
protected |
Definition at line 50 of file JITLinkGeneric.h.
|
inline |
Definition at line 35 of file JITLinkGeneric.h.
References assert(), and ~JITLinkerBase().
|
virtual |
Definition at line 23 of file JITLinkGeneric.cpp.
Referenced by JITLinkerBase().
|
inlinestaticprotected |
Definition at line 84 of file JITLinkGeneric.h.
References llvm::jitlink::Block::getAlignment(), and llvm::jitlink::Block::getAlignmentOffset().
Referenced by llvm::jitlink::JITLinker< MachOJITLinker_x86_64 >::link().
|
inlinestaticprotected |
Definition at line 90 of file JITLinkGeneric.h.
References llvm::jitlink::Block::getAlignment(), llvm::jitlink::Block::getAlignmentOffset(), and P.
|
protectedpure virtual |
Referenced by linkPhase1().
|
protectedpure virtual |
|
protected |
Definition at line 25 of file JITLinkGeneric.cpp.
References assert(), and buildGraph().
|
protected |
Definition at line 87 of file JITLinkGeneric.cpp.
References llvm::dbgs(), LLVM_DEBUG, and llvm::Expected< T >::takeError().
|
protected |
Definition at line 124 of file JITLinkGeneric.cpp.
1.8.13