llvm-6502/lib/Target/PowerPC/PPCMachOWriterInfo.h
Bill Wendling 841056a2ad New "TargetMachOWriterInfo" class. It holds target-specific information
that the MachOWriter needs in order to do its writing stuff 'n things.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33475 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-24 03:36:05 +00:00

36 lines
1.0 KiB
C++

//===-- 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