LLVM API Documentation

ARMTargetObjectFile.h
Go to the documentation of this file.
00001 //===-- llvm/Target/ARMTargetObjectFile.h - ARM Object Info -----*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 
00010 #ifndef LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
00011 #define LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
00012 
00013 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
00014 
00015 namespace llvm {
00016 
00017 class MCContext;
00018 class TargetMachine;
00019 
00020 class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
00021 protected:
00022   const MCSection *AttributesSection;
00023 public:
00024   ARMElfTargetObjectFile() :
00025     TargetLoweringObjectFileELF(),
00026     AttributesSection(nullptr)
00027   {}
00028 
00029   void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
00030 
00031   const MCExpr *
00032   getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding,
00033                           Mangler &Mang, const TargetMachine &TM,
00034                           MachineModuleInfo *MMI,
00035                           MCStreamer &Streamer) const override;
00036 
00037   /// \brief Describe a TLS variable address within debug info.
00038   const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
00039 };
00040 
00041 } // end namespace llvm
00042 
00043 #endif