pub fn create_target_machine(
    tcx: TyCtxt<'_>,
    mod_name: &str
) -> OwnedTargetMachine