LLVM 20.0.0git
|
A function object that takes an ExecutorAddr as its first argument, casts that address to a ClassT*, then calls the given method on that pointer passing in the remaining function arguments. More...
#include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h"
Public Types | |
using | MethodT = RetT(ClassT::*)(ArgTs...) |
Public Member Functions | |
MethodWrapperHandler (MethodT M) | |
RetT | operator() (ExecutorAddr ObjAddr, ArgTs &...Args) |
A function object that takes an ExecutorAddr as its first argument, casts that address to a ClassT*, then calls the given method on that pointer passing in the remaining function arguments.
This utility removes some of the boilerplate from writing wrappers for method calls.
Definition at line 604 of file WrapperFunctionUtils.h.
using llvm::orc::shared::MethodWrapperHandler< RetT, ClassT, ArgTs >::MethodT = RetT (ClassT::*)(ArgTs...) |
Definition at line 606 of file WrapperFunctionUtils.h.
|
inline |
Definition at line 607 of file WrapperFunctionUtils.h.
|
inline |
Definition at line 608 of file WrapperFunctionUtils.h.
References llvm::orc::ExecutorAddr::toPtr().