LLVM  3.7.0
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 
15 namespace llvm {
16 
17 class MCContext;
18 class TargetMachine;
19 
21 protected:
23 public:
26  AttributesSection(nullptr)
27  {}
28 
29  void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
30 
31  const MCExpr *
32  getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding,
33  Mangler &Mang, const TargetMachine &TM,
34  MachineModuleInfo *MMI,
35  MCStreamer &Streamer) const override;
36 
37  /// \brief Describe a TLS variable address within debug info.
38  const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
39 };
40 
41 } // end namespace llvm
42 
43 #endif
Instances of this class represent a uniqued identifier for a section in the current translation unit...
Definition: MCSection.h:48
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:39
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:33
Context object for machine code objects.
Definition: MCContext.h:48
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Streaming machine code generation interface.
Definition: MCStreamer.h:157
const MCExpr * getDebugThreadLocalSymbol(const MCSymbol *Sym) const override
Describe a TLS variable address within debug info.
Primary interface to the complete machine description for the target machine.
const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, Mangler &Mang, 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...
MachineModuleInfo - This class contains meta information specific to a module.