LLVM  3.7.0
Public Member Functions | List of all members
llvm::orc::CtorDtorRunner< JITLayerT > Class Template Reference

Convenience class for recording constructor/destructor names for later execution. More...

#include <ExecutionUtils.h>

Public Member Functions

 CtorDtorRunner (std::vector< std::string > CtorDtorNames, typename JITLayerT::ModuleSetHandleT H)
 Construct a CtorDtorRunner for the given range using the given name mangling function. More...
 
bool runViaLayer (JITLayerT &JITLayer) const
 Run the recorded constructors/destructors through the given JIT layer. More...
 

Detailed Description

template<typename JITLayerT>
class llvm::orc::CtorDtorRunner< JITLayerT >

Convenience class for recording constructor/destructor names for later execution.

Definition at line 90 of file ExecutionUtils.h.

Constructor & Destructor Documentation

template<typename JITLayerT >
llvm::orc::CtorDtorRunner< JITLayerT >::CtorDtorRunner ( std::vector< std::string >  CtorDtorNames,
typename JITLayerT::ModuleSetHandleT  H 
)
inline

Construct a CtorDtorRunner for the given range using the given name mangling function.

Definition at line 95 of file ExecutionUtils.h.

Member Function Documentation

template<typename JITLayerT >
bool llvm::orc::CtorDtorRunner< JITLayerT >::runViaLayer ( JITLayerT &  JITLayer) const
inline

Run the recorded constructors/destructors through the given JIT layer.

Definition at line 101 of file ExecutionUtils.h.

References llvm::lltok::Error.


The documentation for this class was generated from the following file: