LLVM  8.0.1
ARMTargetObjectFile.h
Go to the documentation of this file.
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_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
11 #define LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
12 
14 #include "llvm/MC/MCExpr.h"
15 
16 namespace llvm {
17 
19 public:
23  }
24 
25  void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
26 
28  unsigned Encoding,
29  const TargetMachine &TM,
30  MachineModuleInfo *MMI,
31  MCStreamer &Streamer) const override;
32 
33  /// Describe a TLS variable address within debug info.
34  const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
35 
37  const TargetMachine &TM) const override;
38 
40  const TargetMachine &TM) const override;
41 };
42 
43 } // end namespace llvm
44 
45 #endif // LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
Instances of this class represent a uniqued identifier for a section in the current translation unit...
Definition: MCSection.h:39
This class represents lattice values for constants.
Definition: AllocatorList.h:24
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:42
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:36
Context object for machine code objects.
Definition: MCContext.h:63
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
MCSection * getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
Targets should implement this method to assign a section to globals with an explicit section specfied...
Streaming machine code generation interface.
Definition: MCStreamer.h:189
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition: SectionKind.h:23
const MCExpr * getDebugThreadLocalSymbol(const MCSymbol *Sym) const override
Describe a TLS variable address within debug info.
MCSymbolRefExpr::VariantKind PLTRelativeVariantKind
MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override
Return an MCExpr to use for a reference to the specified type info global variable from exception han...
const unsigned Kind
Primary interface to the complete machine description for the target machine.
Definition: TargetMachine.h:59
This class contains meta information specific to a module.