Chris Lattner | 80ec279 | 2009-08-02 00:34:36 +0000 | [diff] [blame] | 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 | |
Anton Korobeynikov | 362dd0b | 2010-02-15 22:37:53 +0000 | [diff] [blame] | 13 | #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" |
Chris Lattner | 80ec279 | 2009-08-02 00:34:36 +0000 | [diff] [blame] | 14 | |
| 15 | namespace llvm { |
Jim Grosbach | 764ab52 | 2009-08-11 15:33:49 +0000 | [diff] [blame] | 16 | |
Bill Wendling | bdc38e5 | 2010-03-09 18:31:07 +0000 | [diff] [blame] | 17 | class MCContext; |
| 18 | class TargetMachine; |
Jim Grosbach | 764ab52 | 2009-08-11 15:33:49 +0000 | [diff] [blame] | 19 | |
Bill Wendling | bdc38e5 | 2010-03-09 18:31:07 +0000 | [diff] [blame] | 20 | class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF { |
Jason W Kim | 17b443d | 2010-10-11 23:01:44 +0000 | [diff] [blame^] | 21 | protected: |
| 22 | const MCSection *AttributesSection; |
Bill Wendling | bdc38e5 | 2010-03-09 18:31:07 +0000 | [diff] [blame] | 23 | public: |
Jason W Kim | 17b443d | 2010-10-11 23:01:44 +0000 | [diff] [blame^] | 24 | ARMElfTargetObjectFile() : |
| 25 | TargetLoweringObjectFileELF(), |
| 26 | AttributesSection(NULL) |
| 27 | {} |
Jim Grosbach | 764ab52 | 2009-08-11 15:33:49 +0000 | [diff] [blame] | 28 | |
Bill Wendling | bdc38e5 | 2010-03-09 18:31:07 +0000 | [diff] [blame] | 29 | virtual void Initialize(MCContext &Ctx, const TargetMachine &TM); |
Jason W Kim | 17b443d | 2010-10-11 23:01:44 +0000 | [diff] [blame^] | 30 | |
| 31 | virtual const MCSection *getAttributesSection() const { |
| 32 | return AttributesSection; |
| 33 | } |
Bill Wendling | bdc38e5 | 2010-03-09 18:31:07 +0000 | [diff] [blame] | 34 | }; |
| 35 | |
Chris Lattner | 80ec279 | 2009-08-02 00:34:36 +0000 | [diff] [blame] | 36 | } // end namespace llvm |
| 37 | |
| 38 | #endif |