pub fn write_output_file<'ll>(
    handler: &Handler,
    target: &'ll TargetMachine,
    pm: &PassManager<'ll>,
    m: &'ll Module,
    output: &Path,
    dwo_output: Option<&Path>,
    file_type: FileType,
    self_profiler_ref: &SelfProfilerRef
) -> Result<(), FatalError>