LLVM 20.0.0git
|
#include "llvm/ExecutionEngine/Orc/ExecutionUtils.h"
Public Member Functions | |
Error | enable (JITDylib &JD, MangleAndInterner &Mangler) |
Public Member Functions inherited from llvm::orc::LocalCXXRuntimeOverridesBase | |
void | runDestructors () |
Run any destructors recorded by the overriden __cxa_atexit function (CXAAtExitOverride). | |
Additional Inherited Members | |
Protected Types inherited from llvm::orc::LocalCXXRuntimeOverridesBase | |
using | DestructorPtr = void(*)(void *) |
using | CXXDestructorDataPair = std::pair< DestructorPtr, void * > |
using | CXXDestructorDataPairList = std::vector< CXXDestructorDataPair > |
Static Protected Member Functions inherited from llvm::orc::LocalCXXRuntimeOverridesBase | |
static int | CXAAtExitOverride (DestructorPtr Destructor, void *Arg, void *DSOHandle) |
Protected Attributes inherited from llvm::orc::LocalCXXRuntimeOverridesBase | |
CXXDestructorDataPairList | DSOHandleOverride |
Definition at line 190 of file ExecutionUtils.h.
Error llvm::orc::LocalCXXRuntimeOverrides::enable | ( | JITDylib & | JD, |
MangleAndInterner & | Mangler | ||
) |
Definition at line 187 of file ExecutionUtils.cpp.
References llvm::orc::absoluteSymbols(), llvm::orc::LocalCXXRuntimeOverridesBase::CXAAtExitOverride(), llvm::orc::JITDylib::define(), llvm::orc::LocalCXXRuntimeOverridesBase::DSOHandleOverride, llvm::JITSymbolFlags::Exported, and llvm::orc::ExecutorAddr::fromPtr().