|
LLVM
4.0.0
|
X86_64 support for SysV ABI (Linux, MacOSX). More...
#include <OrcABISupport.h>
Public Types | |
| typedef JITTargetAddress(* | JITReentryFn )(void *CallbackMgr, void *TrampolineId) |
Public Types inherited from llvm::orc::OrcX86_64_Base | |
| typedef GenericIndirectStubsInfo< 8 > | IndirectStubsInfo |
Static Public Member Functions | |
| static void | writeResolverCode (uint8_t *ResolveMem, JITReentryFn Reentry, void *CallbackMgr) |
| Write the resolver code into the given memory. More... | |
Static Public Member Functions inherited from llvm::orc::OrcX86_64_Base | |
| static void | writeTrampolines (uint8_t *TrampolineMem, void *ResolverAddr, unsigned NumTrampolines) |
| Write the requsted number of trampolines into the given memory, which must be big enough to hold 1 pointer, plus NumTrampolines trampolines. More... | |
| static Error | emitIndirectStubsBlock (IndirectStubsInfo &StubsInfo, unsigned MinStubs, void *InitialPtrVal) |
| Emit at least MinStubs worth of indirect call stubs, rounded out to the nearest page size. More... | |
Static Public Attributes | |
| static const unsigned | ResolverCodeSize = 0x6C |
Static Public Attributes inherited from llvm::orc::OrcX86_64_Base | |
| static const unsigned | PointerSize = 8 |
| static const unsigned | TrampolineSize = 8 |
X86_64 support for SysV ABI (Linux, MacOSX).
X86_64_SysV supports lazy JITing.
Definition at line 172 of file OrcABISupport.h.
| typedef JITTargetAddress(* llvm::orc::OrcX86_64_SysV::JITReentryFn)(void *CallbackMgr, void *TrampolineId) |
Definition at line 175 of file OrcABISupport.h.
|
static |
Write the resolver code into the given memory.
The user is be responsible for allocating the memory and setting permissions.
Definition at line 274 of file OrcABISupport.cpp.
Definition at line 174 of file OrcABISupport.h.
1.8.6