17 MCSectionCOFF::~MCSectionCOFF() {}
27 if (Name ==
".text" || Name ==
".data" || Name ==
".bss")
34 assert(Selection != 0 &&
"invalid COMDAT selection type");
35 this->Selection = Selection;
41 const MCExpr *Subsection)
const {
81 OS <<
"same_contents,";
93 assert (0 &&
"unsupported COFF selection type");
97 COMDATSymbol->
print(OS, &MAI);
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
print - Print the value to the stream OS.
void setSelection(int Selection) const
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...
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
unsigned getCharacteristics() const
SectionKind getKind() const
StringRef getSectionName() const
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.