llvm_sys::lto

Function lto_module_has_ctor_dtor

source
pub unsafe extern "C" fn lto_module_has_ctor_dtor(
    mod_: lto_module_t,
) -> lto_bool_t
Expand description

Return true if the module has either the @llvm.global_ctors or the @llvm.global_dtors symbol.

Added in API version 29 (LLVM 14).