diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h b/llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h new file mode 100644 index 00000000000..af47833d4cb --- /dev/null +++ b/llvm/lib/Target/PowerPC/PPCMachOWriterInfo.h @@ -0,0 +1,35 @@ +//===-- PPCMachOWriterInfo.h - Mach-O Writer Info for PowerPC ---*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by Bill Wendling and is distributed under the +// University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file implements Mach-O writer information for the PowerPC backend. +// +//===----------------------------------------------------------------------===// + +#ifndef PPC_MACHO_WRITER_INFO_H +#define PPC_MACHO_WRITER_INFO_H + +#include "llvm/Target/TargetMachOWriterInfo.h" + +namespace llvm { + + // Forward declarations + class PPCTargetMachine; + + struct PPCMachOWriterInfo : public TargetMachOWriterInfo { + PPCMachOWriterInfo(const PPCTargetMachine &TM); + virtual ~PPCMachOWriterInfo() {} + + virtual const char *getPassName() const { + return "PowerPC Mach-O Writer"; + } + }; + +} // end llvm namespace + +#endif // PPC_MACHO_WRITER_INFO_H |