rustc_codegen_llvm::llvm_::ffi

Function LLVMRustCreateTargetMachine

source
pub unsafe extern "C" fn LLVMRustCreateTargetMachine(
    Triple: *const c_char,
    CPU: *const c_char,
    Features: *const c_char,
    Abi: *const c_char,
    Model: CodeModel,
    Reloc: RelocModel,
    Level: CodeGenOptLevel,
    UseSoftFP: bool,
    FunctionSections: bool,
    DataSections: bool,
    UniqueSectionNames: bool,
    TrapUnreachable: bool,
    Singlethread: bool,
    VerboseAsm: bool,
    EmitStackSizeSection: bool,
    RelaxELFRelocations: bool,
    UseInitArray: bool,
    SplitDwarfFile: *const c_char,
    OutputObjFile: *const c_char,
    DebugInfoCompression: *const c_char,
    UseEmulatedTls: bool,
    ArgsCstrBuff: *const c_char,
    ArgsCstrBuffLen: usize,
) -> *mut TargetMachine