llvm::orc::getDestructors

Create an iterator range over the entries of the llvm.global_dtors array.

Synopsis

Declared in <llvm/ExecutionEngine/Orc/ExecutionUtils.h>

iterator_range<CtorDtorIterator>
getDestructors(Module const& M);

Return Value

Iterator range over the llvm.global_dtors entries.

Parameters

NameDescription
MModule whose llvm.global_dtors array should be iterated.