Bill Wendling | 53351a1 | 2010-03-12 02:00:43 +0000 | [diff] [blame^] | 1 | //===-- 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 | |
| 15 | namespace llvm { |
| 16 | |
| 17 | class MCContext; |
| 18 | class 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>. |
| 23 | class PPCMachOTargetObjectFile : public TargetLoweringObjectFileMachO { |
| 24 | public: |
| 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 |