Append F to the global destructors of module M.
Declared in <llvm/Transforms/Utils/ModuleUtils.h>
void
appendToGlobalDtors(
Module& M,
Function* F,
int Priority,
Constant* Data = nullptr);
Same as appendToGlobalCtors(), but for global dtors.
| Name | Description |
|---|---|
| M | Module whose global destructors are updated. |
| F | Function to append as a global destructor. |
| Priority | Priority of the destructor entry. |
| Data | Optional associated data constant, or nullptr. |