LLVM  10.0.0svn
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

 LLVM_ATTRIBUTE_DEPRECATED (LegacyCtorDtorRunner(std::vector< std::string > CtorDtorNames, VModuleKey K), "ORCv1 utilities (utilities with the 'Legacy' prefix) are deprecated. " "Please use the ORCv2 CtorDtorRunner utility instead")
 Construct a CtorDtorRunner for the given range using the given name mangling function. More...
 
 LegacyCtorDtorRunner (ORCv1DeprecationAcknowledgement, std::vector< std::string > CtorDtorNames, VModuleKey K)
 
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 99 of file ExecutionUtils.h.

Constructor & Destructor Documentation

◆ LegacyCtorDtorRunner()

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

Definition at line 109 of file ExecutionUtils.h.

Member Function Documentation

◆ LLVM_ATTRIBUTE_DEPRECATED()

template<typename JITLayerT>
llvm::orc::LegacyCtorDtorRunner< JITLayerT >::LLVM_ATTRIBUTE_DEPRECATED ( LegacyCtorDtorRunner< JITLayerT >(std::vector< std::string > CtorDtorNames, VModuleKey K)  ,
"ORCv1 utilities (utilities with the 'Legacy' prefix) are deprecated. " "Please use the ORCv2 CtorDtorRunner utility instead"   
)

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

◆ 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 115 of file ExecutionUtils.h.

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


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