LLVM  6.0.0svn
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 "llvm/ExecutionEngine/Orc/ExecutionUtils.h"

Public Member Functions

 CtorDtorRunner (std::vector< std::string > CtorDtorNames, typename JITLayerT::ModuleHandleT H)
 Construct a CtorDtorRunner for the given range using the given name mangling function. More...
 
Error 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 94 of file ExecutionUtils.h.

Constructor & Destructor Documentation

◆ CtorDtorRunner()

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

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

Definition at line 98 of file ExecutionUtils.h.

Member Function Documentation

◆ runViaLayer()

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

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

Definition at line 104 of file ExecutionUtils.h.

References H, and llvm::Error::success().


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