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

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

#include "llvm/ExecutionEngine/Orc/ExecutionUtils.h"

Public Member Functions

 LegacyCtorDtorRunner (std::vector< std::string > CtorDtorNames, VModuleKey K)
 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::LegacyCtorDtorRunner< JITLayerT >

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

Definition at line 97 of file ExecutionUtils.h.

Constructor & Destructor Documentation

◆ LegacyCtorDtorRunner()

template<typename JITLayerT>
llvm::orc::LegacyCtorDtorRunner< JITLayerT >::LegacyCtorDtorRunner ( std::vector< std::string >  CtorDtorNames,
VModuleKey  K 
)
inline

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

Definition at line 101 of file ExecutionUtils.h.

Member Function Documentation

◆ runViaLayer()

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

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

Definition at line 106 of file ExecutionUtils.h.

Referenced by llvm::orc::OrcMCJITReplacement::runStaticConstructorsDestructors().


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