toPtr overloads
Synopses
Declared in <llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h>
Cast this ExecutorAddr to a pointer of the given function type. Warning: This should only be used when JITing in‐process.
template<
typename T,
typename WrapFn = defaultWrap<T>>
T*
toPtr(WrapFn&& Wrap = WrapFn()) const
requires std::is_function<T>::value;
Cast this ExecutorAddr to a pointer of the given type. Warning: This should only be used when JITing in‐process.
template<
typename T,
typename WrapFn = defaultWrap<std::remove_pointer_t<T>>>
T
toPtr(WrapFn&& Wrap = WrapFn()) const
requires std::is_pointer<T>::value;
Return Value
-
A host function pointer of type
T* for this address. -
A host pointer of type
Tfor this address.
Parameters
Name |
Description |
Wrap |
Function applied to the reconstructed host function pointer. |
Created with MrDocs