LLVM 22.0.0git
|
#include "llvm/ExecutionEngine/Orc/ExecutionUtils.h"
Public Member Functions | |
CtorDtorRunner (JITDylib &JD) | |
LLVM_ABI void | add (iterator_range< CtorDtorIterator > CtorDtors) |
LLVM_ABI Error | run () |
Definition at line 147 of file ExecutionUtils.h.
|
inline |
Definition at line 149 of file ExecutionUtils.h.
void llvm::orc::CtorDtorRunner::add | ( | iterator_range< CtorDtorIterator > | CtorDtors | ) |
Definition at line 117 of file ExecutionUtils.cpp.
References assert(), llvm::iterator_range< IteratorT >::begin(), llvm::cast(), llvm::iterator_range< IteratorT >::empty(), llvm::GlobalValue::ExternalLinkage, and llvm::GlobalValue::HiddenVisibility.
Error llvm::orc::CtorDtorRunner::run | ( | ) |
Definition at line 143 of file ExecutionUtils.cpp.
References llvm::orc::SymbolLookupSet::add(), assert(), llvm::orc::SymbolLookupSet::containsDuplicates(), llvm::orc::makeJITDylibSearchOrder(), llvm::orc::MatchAllSymbols, and llvm::Error::success().