14 #ifndef LLVM_MC_MCSECTIONCOFF_H
15 #define LLVM_MC_MCSECTIONCOFF_H
34 mutable unsigned Characteristics;
43 mutable int Selection;
51 Characteristics(Characteristics), COMDATSymbol(COMDATSymbol),
52 Selection(Selection) {
53 assert ((Characteristics & 0x00F00000) == 0 &&
54 "alignment must not be set upon section creation");
71 const MCExpr *Subsection)
const override;
Instances of this class represent a uniqued identifier for a section in the current translation unit...
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
SectionVariant getVariant() const
void setSelection(int Selection) const
MCSectionCOFF - This represents a section on Windows.
Base class for the full range of assembler expressions which are needed for parsing.
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
ShouldOmitSectionDirective - Decides whether a '.section' directive should be printed before the sect...
Context object for machine code objects.
bool UseCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
This class is intended to be used as a base class for asm properties and features specific to the tar...
void PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const override
MCSymbol * getCOMDATSymbol() const
SectionKind - This is a simple POD value that classifies the properties of a section.
unsigned getCharacteristics() const
StringRef getSectionName() const
static bool classof(const MCSection *S)
COFFYAML::WeakExternalCharacteristics Characteristics
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.