ΒΆextern lto_bool_t lto_module_has_ctor_dtor(
lto_module_t mod)
extern lto_bool_t lto_module_has_ctor_dtor(
lto_module_t mod)
Description
This function can be used by the linker to check if a given module has any constructor or destructor functions. Returns true if the module has either the @llvm.global_ctors or the@llvm.global_dtors symbol. Otherwise returns false.
Declared at: llvm/include/llvm-c/lto.h:324
Parameters
- lto_module_t mod