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
int getSelection () const
const MCSectionCOFFgetAssocSection () const
void setSelection (int Selection, const MCSectionCOFF *Assoc=nullptr) 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 90 of file MCSectionCOFF.h.

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

Definition at line 80 of file MCSectionCOFF.h.

Definition at line 78 of file MCSectionCOFF.h.

References Characteristics.

Referenced by isVirtualSection(), and PrintSwitchToSection().

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

Implements llvm::MCSection.

Definition at line 72 of file MCSectionCOFF.h.

References llvm::StringRef::str().

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

Implements llvm::MCSection.

Definition at line 75 of file MCSectionCOFF.h.

References llvm::StringRef::str().

Definition at line 79 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 106 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 MCSectionCOFF Assoc = nullptr 
) const

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 102 of file MCSectionCOFF.cpp.

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


Friends And Related Function Documentation

friend class MCContext [friend]

Definition at line 51 of file MCSectionCOFF.h.


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