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;
24 ARMElfTargetObjectFile() :
25 TargetLoweringObjectFileELF(),
26 AttributesSection(NULL)
29 virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
32 getTTypeGlobalReference(const GlobalValue *GV, Mangler *Mang,
33 MachineModuleInfo *MMI, unsigned Encoding,
34 MCStreamer &Streamer) const;
36 virtual const MCSection *getAttributesSection() const {
37 return AttributesSection;
41 } // end namespace llvm