LLVM API Documentation

Public Member Functions
llvm::TargetLoweringObjectFileCOFF Class Reference

#include <TargetLoweringObjectFileImpl.h>

Inheritance diagram for llvm::TargetLoweringObjectFileCOFF:
Inheritance graph
[legend]
Collaboration diagram for llvm::TargetLoweringObjectFileCOFF:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~TargetLoweringObjectFileCOFF ()
virtual const MCSectiongetExplicitSectionGlobal (const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine &TM) const
virtual const MCSectionSelectSectionForGlobal (const GlobalValue *GV, SectionKind Kind, Mangler *Mang, const TargetMachine &TM) const
virtual void emitModuleFlags (MCStreamer &Streamer, ArrayRef< Module::ModuleFlagEntry > ModuleFlags, Mangler *Mang, const TargetMachine &TM) const

Detailed Description

Definition at line 120 of file TargetLoweringObjectFileImpl.h.


Constructor & Destructor Documentation

virtual llvm::TargetLoweringObjectFileCOFF::~TargetLoweringObjectFileCOFF ( ) [inline, virtual]

Definition at line 122 of file TargetLoweringObjectFileImpl.h.


Member Function Documentation

void TargetLoweringObjectFileCOFF::emitModuleFlags ( MCStreamer Streamer,
ArrayRef< Module::ModuleFlagEntry ModuleFlags,
Mangler Mang,
const TargetMachine TM 
) const [virtual]
const MCSection * TargetLoweringObjectFileCOFF::getExplicitSectionGlobal ( const GlobalValue GV,
SectionKind  Kind,
Mangler Mang,
const TargetMachine TM 
) const [virtual]

getExplicitSectionGlobal - Targets should implement this method to assign a section to globals with an explicit section specfied. The implementation of this method can assume that GV->hasSection() is true.

Implements llvm::TargetLoweringObjectFile.

Definition at line 721 of file TargetLoweringObjectFileImpl.cpp.

References llvm::StringRef::begin(), Characteristics, llvm::StringRef::end(), getCOFFSectionFlags(), llvm::MCSymbol::getName(), llvm::GlobalValue::getSection(), llvm::Mangler::getSymbol(), llvm::COFF::IMAGE_COMDAT_SELECT_ANY, llvm::COFF::IMAGE_SCN_LNK_COMDAT, and llvm::GlobalValue::isWeakForLinker().

const MCSection * TargetLoweringObjectFileCOFF::SelectSectionForGlobal ( const GlobalValue GV,
SectionKind  Kind,
Mangler Mang,
const TargetMachine TM 
) const [virtual]

The documentation for this class was generated from the following files: