]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/Target/ARM/ARMTargetObjectFile.h
Update LLVM to r98164.
[FreeBSD/FreeBSD.git] / lib / Target / ARM / ARMTargetObjectFile.h
1 //===-- llvm/Target/ARMTargetObjectFile.h - ARM 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_ARM_TARGETOBJECTFILE_H
11 #define LLVM_TARGET_ARM_TARGETOBJECTFILE_H
12
13 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
14
15 namespace llvm {
16
17 class MCContext;
18 class TargetMachine;
19
20 class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
21 public:
22   ARMElfTargetObjectFile() : TargetLoweringObjectFileELF() {}
23
24   virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
25 };
26
27 // FIXME: This subclass isn't 100% necessary. It will become obsolete once we
28 //        can place all LSDAs into the TEXT section. See
29 //        <rdar://problem/6804645>.
30 class ARMMachOTargetObjectFile : public TargetLoweringObjectFileMachO {
31 public:
32   ARMMachOTargetObjectFile() : TargetLoweringObjectFileMachO() {}
33
34   virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
35
36   virtual unsigned getTTypeEncoding() const;
37 };
38
39 } // end namespace llvm
40
41 #endif