zpu: managed to compile program that writes constant to global variable
[llvm/zpu.git] / lib / Target / ARM / ARMTargetObjectFile.h
blobc6a7261439d7b084166fc908e7e970214ebea90f
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 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_TARGET_ARM_TARGETOBJECTFILE_H
11 #define LLVM_TARGET_ARM_TARGETOBJECTFILE_H
13 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
15 namespace llvm {
17 class MCContext;
18 class TargetMachine;
20 class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
21 protected:
22 const MCSection *AttributesSection;
23 public:
24 ARMElfTargetObjectFile() :
25 TargetLoweringObjectFileELF(),
26 AttributesSection(NULL)
29 virtual void Initialize(MCContext &Ctx, const TargetMachine &TM);
31 virtual const MCSection *getAttributesSection() const {
32 return AttributesSection;
36 } // end namespace llvm
38 #endif