LLVM  10.0.0svn
ARMTargetObjectFile.h
Go to the documentation of this file.
1 //===-- llvm/Target/ARMTargetObjectFile.h - ARM Object Info -----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
10 #define LLVM_LIB_TARGET_ARM_ARMTARGETOBJECTFILE_H
11 
13 #include "llvm/MC/MCExpr.h"
14 
15 namespace llvm {
16 
18 public:
22  }
23 
24  void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
25 
27  unsigned Encoding,
28  const TargetMachine &TM,
29  MachineModuleInfo *MMI,
30  MCStreamer &Streamer) const override;
31 
32  /// Describe a TLS variable address within debug info.
33  const MCExpr *getDebugThreadLocalSymbol(const MCSymbol *Sym) const override;
34 
36  const TargetMachine &TM) const override;
37 
39  const TargetMachine &TM) const override;
40 };
41 
42 } // end namespace llvm
43 
44 #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:38
This class represents lattice values for constants.
Definition: AllocatorList.h:23
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition: MCSymbol.h:41
Base class for the full range of assembler expressions which are needed for parsing.
Definition: MCExpr.h:35
Context object for machine code objects.
Definition: MCContext.h:64
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:188
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition: SectionKind.h:22
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...
Primary interface to the complete machine description for the target machine.
Definition: TargetMachine.h:65
This class contains meta information specific to a module.