mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
3fe980b127
Remove most of old Mach-O Writer support, it has been replaced by MCMachOStreamer Further refactoring to completely remove MachOWriter and drive the object file writer with the AsmPrinter MCInst/MCSection logic is forthcoming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93527 91177308-0d34-0410-b5e6-96231b3b80d8
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
//===-- FileWriters.h - File Writers Creation Functions ---------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Functions to add the various file writer passes.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_CODEGEN_FILEWRITERS_H
|
|
#define LLVM_CODEGEN_FILEWRITERS_H
|
|
|
|
namespace llvm {
|
|
|
|
class PassManagerBase;
|
|
class ObjectCodeEmitter;
|
|
class TargetMachine;
|
|
class raw_ostream;
|
|
class formatted_raw_ostream;
|
|
class MachineFunctionPass;
|
|
class MCAsmInfo;
|
|
class MCCodeEmitter;
|
|
|
|
ObjectCodeEmitter *AddELFWriter(PassManagerBase &FPM, raw_ostream &O,
|
|
TargetMachine &TM);
|
|
MachineFunctionPass *createMachOWriter(formatted_raw_ostream &O,
|
|
TargetMachine &TM,
|
|
const MCAsmInfo *T,
|
|
MCCodeEmitter *MCE);
|
|
|
|
} // end llvm namespace
|
|
|
|
#endif // LLVM_CODEGEN_FILEWRITERS_H
|