1 //===-- PPCMachOWriterInfo.h - Mach-O Writer Info for PowerPC ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by Bill Wendling and is distributed under the
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements Mach-O writer information for the PowerPC backend.
12 //===----------------------------------------------------------------------===//
14 #ifndef PPC_MACHO_WRITER_INFO_H
15 #define PPC_MACHO_WRITER_INFO_H
17 #include "llvm/Target/TargetMachOWriterInfo.h"
21 // Forward declarations
22 class PPCTargetMachine;
24 struct PPCMachOWriterInfo : public TargetMachOWriterInfo {
25 PPCMachOWriterInfo(const PPCTargetMachine &TM);
26 virtual ~PPCMachOWriterInfo() {}
28 virtual const char *getPassName() const {
29 return "PowerPC Mach-O Writer";
33 } // end llvm namespace
35 #endif // PPC_MACHO_WRITER_INFO_H