Function rustc_codegen_llvm::llvm::LLVMRustAddModuleFlag
source · pub unsafe extern "C" fn LLVMRustAddModuleFlag(
M: &Module,
merge_behavior: LLVMModFlagBehavior,
name: *const c_char,
value: u32
)
Expand description
Add LLVM module flags.
In order for Rust-C LTO to work, module flags must be compatible with Clang. What “compatible” means depends on the merge behaviors involved.