LLVM API Documentation
MCSectionCOFF - This represents a section on Windows. More...
#include <MCSectionCOFF.h>


Public Member Functions | |
| bool | ShouldOmitSectionDirective (StringRef Name, const MCAsmInfo &MAI) const |
| StringRef | getSectionName () const |
| virtual std::string | getLabelBeginName () const |
| virtual std::string | getLabelEndName () const |
| unsigned | getCharacteristics () const |
| int | getSelection () const |
| virtual void | PrintSwitchToSection (const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const |
| virtual bool | UseCodeAlign () const |
| virtual bool | isVirtualSection () const |
Static Public Member Functions | |
| static bool | classof (const MCSection *S) |
Friends | |
| class | MCContext |
MCSectionCOFF - This represents a section on Windows.
Definition at line 24 of file MCSectionCOFF.h.
Definition at line 68 of file MCSectionCOFF.h.
References llvm::MCSection::getVariant(), and llvm::MCSection::SV_COFF.
| unsigned llvm::MCSectionCOFF::getCharacteristics | ( | ) | const [inline] |
Definition at line 59 of file MCSectionCOFF.h.
References Characteristics.
Referenced by isVirtualSection(), and PrintSwitchToSection().
| virtual std::string llvm::MCSectionCOFF::getLabelBeginName | ( | ) | const [inline, virtual] |
Implements llvm::MCSection.
Definition at line 53 of file MCSectionCOFF.h.
References llvm::StringRef::str().
| virtual std::string llvm::MCSectionCOFF::getLabelEndName | ( | ) | const [inline, virtual] |
Implements llvm::MCSection.
Definition at line 56 of file MCSectionCOFF.h.
References llvm::StringRef::str().
| StringRef llvm::MCSectionCOFF::getSectionName | ( | ) | const [inline] |
Definition at line 52 of file MCSectionCOFF.h.
Referenced by llvm::MCWin64EHUnwindEmitter::GetSectionSuffix(), and PrintSwitchToSection().
| int llvm::MCSectionCOFF::getSelection | ( | ) | const [inline] |
Definition at line 60 of file MCSectionCOFF.h.
| bool MCSectionCOFF::isVirtualSection | ( | ) | const [virtual] |
isVirtualSection - Check whether this section is "virtual", that is has no actual object file contents.
Implements llvm::MCSection.
Definition at line 83 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 [virtual] |
Implements llvm::MCSection.
Definition at line 31 of file MCSectionCOFF.cpp.
References getCharacteristics(), llvm::MCSection::getKind(), getSectionName(), llvm::COFF::IMAGE_COMDAT_SELECT_ANY, llvm::COFF::IMAGE_COMDAT_SELECT_EXACT_MATCH, llvm::COFF::IMAGE_COMDAT_SELECT_LARGEST, llvm::COFF::IMAGE_COMDAT_SELECT_NODUPLICATES, llvm::COFF::IMAGE_COMDAT_SELECT_SAME_SIZE, llvm::COFF::IMAGE_SCN_LNK_COMDAT, llvm::COFF::IMAGE_SCN_MEM_DISCARDABLE, and ShouldOmitSectionDirective().
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 [virtual] |
Implements llvm::MCSection.
Definition at line 79 of file MCSectionCOFF.cpp.
References llvm::MCSection::getKind(), and llvm::SectionKind::isText().
friend class MCContext [friend] |
Definition at line 37 of file MCSectionCOFF.h.