llvm_sys::core

Function LLVMAddModuleFlag

Source
pub unsafe extern "C" fn LLVMAddModuleFlag(
    M: LLVMModuleRef,
    Behavior: LLVMModuleFlagBehavior,
    Key: *const c_char,
    KeyLen: size_t,
    Val: LLVMMetadataRef,
)
Expand description

Add a module-level flag to the module-level flags metadata if it doesn’t already exist.