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 |
const MCSectionCOFF * | getAssocSection () const |
void | setSelection (int Selection, const MCSectionCOFF *Assoc=0) const |
virtual void | PrintSwitchToSection (const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const |
virtual bool | UseCodeAlign () const |
virtual bool | isVirtualSection () const |
![]() | |
virtual | ~MCSection () |
SectionKind | getKind () const |
SectionVariant | getVariant () const |
virtual bool | isBaseAddressKnownZero () const |
Static Public Member Functions | |
static bool | classof (const MCSection *S) |
Friends | |
class | MCContext |
Additional Inherited Members | |
![]() | |
enum | SectionVariant { SV_COFF = 0, SV_ELF, SV_MachO } |
![]() | |
MCSection (SectionVariant V, SectionKind K) | |
![]() | |
SectionVariant | Variant |
SectionKind | Kind |
MCSectionCOFF - This represents a section on Windows.
Definition at line 24 of file MCSectionCOFF.h.
Definition at line 82 of file MCSectionCOFF.h.
References llvm::MCSection::getVariant(), and llvm::MCSection::SV_COFF.
|
inline |
Definition at line 72 of file MCSectionCOFF.h.
|
inline |
Definition at line 70 of file MCSectionCOFF.h.
References Characteristics.
Referenced by isVirtualSection(), and PrintSwitchToSection().
|
inlinevirtual |
Implements llvm::MCSection.
Definition at line 64 of file MCSectionCOFF.h.
References llvm::StringRef::str().
|
inlinevirtual |
Implements llvm::MCSection.
Definition at line 67 of file MCSectionCOFF.h.
References llvm::StringRef::str().
|
inline |
Definition at line 63 of file MCSectionCOFF.h.
Referenced by llvm::MCWin64EHUnwindEmitter::GetSectionSuffix(), and PrintSwitchToSection().
|
inline |
Definition at line 71 of file MCSectionCOFF.h.
|
virtual |
isVirtualSection - Check whether this section is "virtual", that is has no actual object file contents.
Implements llvm::MCSection.
Definition at line 97 of file MCSectionCOFF.cpp.
References getCharacteristics().
|
virtual |
Implements llvm::MCSection.
Definition at line 42 of file MCSectionCOFF.cpp.
References getCharacteristics(), llvm::MCSection::getKind(), getSectionName(), llvm::COFF::IMAGE_COMDAT_SELECT_ANY, llvm::COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE, llvm::COFF::IMAGE_COMDAT_SELECT_EXACT_MATCH, llvm::COFF::IMAGE_COMDAT_SELECT_LARGEST, llvm::COFF::IMAGE_COMDAT_SELECT_NEWEST, llvm::COFF::IMAGE_COMDAT_SELECT_NODUPLICATES, llvm::COFF::IMAGE_COMDAT_SELECT_SAME_SIZE, and ShouldOmitSectionDirective().
void MCSectionCOFF::setSelection | ( | int | Selection, |
const MCSectionCOFF * | Assoc = 0 |
||
) | const |
Definition at line 31 of file MCSectionCOFF.cpp.
References llvm::COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE.
ShouldOmitSectionDirective - Decides whether a '.section' directive should be printed before the section name
Definition at line 21 of file MCSectionCOFF.cpp.
Referenced by PrintSwitchToSection().
|
virtual |
Implements llvm::MCSection.
Definition at line 93 of file MCSectionCOFF.cpp.
References llvm::MCSection::getKind(), and llvm::SectionKind::isText().
|
friend |
Definition at line 45 of file MCSectionCOFF.h.