blob: 2d40bc9ceb190e26cb24e4324cda2f24896d27a4 [file] [log] [blame]
Bill Wendling53351a12010-03-12 02:00:43 +00001//===-- llvm/Target/PPCTargetObjectFile.h - PowerPC Object Info -*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLVM_TARGET_PPC_TARGETOBJECTFILE_H
11#define LLVM_TARGET_PPC_TARGETOBJECTFILE_H
12
13#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
14
15namespace llvm {
16
17class MCContext;
18class TargetMachine;
19
20// FIXME: This subclass isn't 100% necessary. It will become obsolete once we
21// can place all LSDAs into the TEXT section. See
22// <rdar://problem/6804645>.
23class PPCMachOTargetObjectFile : public TargetLoweringObjectFileMachO {
24public:
25 PPCMachOTargetObjectFile() : TargetLoweringObjectFileMachO() {}
26
27 virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
28
29 virtual unsigned getTTypeEncoding() const;
30};
31
32} // end namespace llvm
33
34#endif