1 //===-- llvm/Target/ARMTargetObjectFile.h - ARM Object Info -----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_TARGET_ARM_TARGETOBJECTFILE_H
11 #define LLVM_TARGET_ARM_TARGETOBJECTFILE_H
13 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
20 class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
22 const MCSection *AttributesSection;
25 ARMElfTargetObjectFile() :
26 TargetLoweringObjectFileELF(),
27 AttributesSection(NULL)
30 virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
32 virtual const MCSection *getAttributesSection() const {
33 return AttributesSection;
36 const MCSection * getStaticCtorSection(unsigned Priority) const;
37 const MCSection * getStaticDtorSection(unsigned Priority) const;
40 } // end namespace llvm