blob: af47833d4cb685e81be1d0bf37afe1674bc9a9e9 [file] [log] [blame]
Bill Wendling841056a2007-01-24 03:36:05 +00001//===-- PPCMachOWriterInfo.h - Mach-O Writer Info for PowerPC ---*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
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.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements Mach-O writer information for the PowerPC backend.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef PPC_MACHO_WRITER_INFO_H
15#define PPC_MACHO_WRITER_INFO_H
16
17#include "llvm/Target/TargetMachOWriterInfo.h"
18
19namespace llvm {
20
21 // Forward declarations
22 class PPCTargetMachine;
23
24 struct PPCMachOWriterInfo : public TargetMachOWriterInfo {
25 PPCMachOWriterInfo(const PPCTargetMachine &TM);
26 virtual ~PPCMachOWriterInfo() {}
27
28 virtual const char *getPassName() const {
29 return "PowerPC Mach-O Writer";
30 }
31 };
32
33} // end llvm namespace
34
35#endif // PPC_MACHO_WRITER_INFO_H