ΒΆExpected<std::vector<WrapperFunctionCall>>
runFinalizeActions(
llvm::orc::shared::AllocActions& AAs)
Expected<std::vector<WrapperFunctionCall>>
runFinalizeActions(
llvm::orc::shared::AllocActions& AAs)
Description
Run finalize actions. If any finalize action fails then the corresponding dealloc actions will be run in reverse order (not including the deallocation action for the failed finalize action), and the error for the failing action will be returned. If all finalize actions succeed then a vector of deallocation actions will be returned. The dealloc actions should be run by calling runDeallocationActions. If this function succeeds then the AA argument will be cleared before the function returns.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h:66
Parameters
- llvm::orc::shared::AllocActions& AAs