Struct rustc_codegen_ssa::back::write::TargetMachineFactoryConfig [−][src]
Expand description
Configuration passed to the function returned by the target_machine_factory.
Fields
split_dwarf_file: Option<PathBuf>Expand description
Split DWARF is enabled in LLVM by checking that TM.MCOptions.SplitDwarfFile isn’t empty,
so the path to the dwarf object has to be provided when we create the target machine.
This can be ignored by backends which do not need it for their Split DWARF support.
Implementations
impl TargetMachineFactoryConfig[src]
impl TargetMachineFactoryConfig[src]pub fn new(
cgcx: &CodegenContext<impl WriteBackendMethods>,
module_name: &str
) -> TargetMachineFactoryConfig[src]
cgcx: &CodegenContext<impl WriteBackendMethods>,
module_name: &str
) -> TargetMachineFactoryConfig