LLVM API Documentation

Public Member Functions | Static Public Member Functions | Friends
llvm::MCSectionCOFF Class Reference

MCSectionCOFF - This represents a section on Windows. More...

#include <MCSectionCOFF.h>

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

List of all members.

Public Member Functions

bool ShouldOmitSectionDirective (StringRef Name, const MCAsmInfo &MAI) const
StringRef getSectionName () const
std::string getLabelBeginName () const override
std::string getLabelEndName () const override
unsigned getCharacteristics () const
MCSymbolgetCOMDATSymbol () const
int getSelection () const
void setSelection (int Selection) const
void PrintSwitchToSection (const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const override
bool UseCodeAlign () const override
bool isVirtualSection () const override

Static Public Member Functions

static bool classof (const MCSection *S)

Friends

class MCContext

Detailed Description

MCSectionCOFF - This represents a section on Windows.

Definition at line 25 of file MCSectionCOFF.h.


Member Function Documentation

static bool llvm::MCSectionCOFF::classof ( const MCSection S) [inline, static]

Definition at line 80 of file MCSectionCOFF.h.

References llvm::MCSection::getVariant(), and llvm::MCSection::SV_COFF.

Definition at line 69 of file MCSectionCOFF.h.

References Characteristics.

Referenced by getAssociativeCOFFSection(), isVirtualSection(), and PrintSwitchToSection().

Definition at line 70 of file MCSectionCOFF.h.

Referenced by llvm::X86AsmPrinter::GetCPISymbol().

std::string llvm::MCSectionCOFF::getLabelBeginName ( ) const [inline, override, virtual]

Implements llvm::MCSection.

Definition at line 63 of file MCSectionCOFF.h.

References llvm::StringRef::str().

std::string llvm::MCSectionCOFF::getLabelEndName ( ) const [inline, override, virtual]

Implements llvm::MCSection.

Definition at line 66 of file MCSectionCOFF.h.

References llvm::StringRef::str().

Definition at line 71 of file MCSectionCOFF.h.

bool MCSectionCOFF::isVirtualSection ( ) const [override, virtual]

isVirtualSection - Check whether this section is "virtual", that is has no actual object file contents.

Implements llvm::MCSection.

Definition at line 102 of file MCSectionCOFF.cpp.

References getCharacteristics(), and llvm::COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA.

void MCSectionCOFF::PrintSwitchToSection ( const MCAsmInfo MAI,
raw_ostream OS,
const MCExpr Subsection 
) const [override, virtual]
void MCSectionCOFF::setSelection ( int  Selection) const

Definition at line 33 of file MCSectionCOFF.cpp.

References llvm::COFF::IMAGE_SCN_LNK_COMDAT.

ShouldOmitSectionDirective - Decides whether a '.section' directive should be printed before the section name

Definition at line 21 of file MCSectionCOFF.cpp.

Referenced by PrintSwitchToSection().

bool MCSectionCOFF::UseCodeAlign ( ) const [override, virtual]

Implements llvm::MCSection.

Definition at line 98 of file MCSectionCOFF.cpp.

References llvm::MCSection::getKind(), and llvm::SectionKind::isText().


Friends And Related Function Documentation

friend class MCContext [friend]

Definition at line 46 of file MCSectionCOFF.h.


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