15 #ifndef LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
16 #define LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
24 class MachineModuleInfo;
30 class MCSymbolRefExpr;
static SectionKind getKindForGlobal(const GlobalValue *GV, const TargetMachine &TM)
virtual void emitModuleFlags(MCStreamer &, ArrayRef< Module::ModuleFlagEntry >, Mangler *, const TargetMachine &) const
emitModuleFlags - Emit the module flags that the platform cares about.
virtual const MCSection * SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine &TM) const
const MCSection * SectionForGlobal(const GlobalValue *GV, Mangler *Mang, const TargetMachine &TM) const
const MCSection * StaticDtorSection
virtual const MCSection * getSectionForConstant(SectionKind Kind) const
virtual void Initialize(MCContext &ctx, const TargetMachine &TM)
const MCExpr * getTTypeReference(const MCSymbolRefExpr *Sym, unsigned Encoding, MCStreamer &Streamer) const
virtual const MCExpr * getDebugThreadLocalSymbol(const MCSymbol *Sym) const
Create a symbol reference to describe the given TLS variable when emitting the address in debug info...
MCContext & getContext() const
const MCSection * SectionForGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine &TM) const
virtual const MCSection * getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine &TM) const =0
TargetLoweringObjectFile()
virtual const MCSection * getStaticDtorSection(unsigned Priority=65535) const
virtual void emitPersonalityValue(MCStreamer &Streamer, const TargetMachine &TM, const MCSymbol *Sym) const
#define LLVM_DELETED_FUNCTION
virtual ~TargetLoweringObjectFile()
virtual const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, Mangler *Mang, MachineModuleInfo *MMI, unsigned Encoding, MCStreamer &Streamer) const
const MCSection * StaticCtorSection
virtual bool shouldEmitUsedDirectiveFor(const GlobalValue *GV, Mangler *) const
virtual const MCSection * getSpecialCasedSectionGlobals(const GlobalValue *GV, Mangler *Mang, SectionKind Kind) const
virtual MCSymbol * getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang, MachineModuleInfo *MMI) const
virtual const MCSection * getStaticCtorSection(unsigned Priority=65535) const
MCSymbol * getSymbol(Mangler &M, const GlobalValue *GV) const