llvm_sys::core

Function LLVMCopyModuleFlagsMetadata

Source
pub unsafe extern "C" fn LLVMCopyModuleFlagsMetadata(
    M: LLVMModuleRef,
    Len: *mut size_t,
) -> *mut LLVMModuleFlagEntry
Expand description

Returns the module flags as an array of flag-key-value triples. The caller is responsible for freeing this array by calling LLVMDisposeModuleFlagsMetadata.