14 #ifndef LLVM_MC_MCSECTIONWASM_H
15 #define LLVM_MC_MCSECTIONWASM_H
47 uint64_t SectionOffset;
53 Flags(flags), UniqueID(UniqueID), Group(group), SectionOffset(0) {
73 const MCExpr *Subsection)
const override;
77 bool isUnique()
const {
return UniqueID != ~0U; }
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
static bool classof(const MCSection *S)
Base class for the full range of assembler expressions which are needed for parsing.
uint64_t getSectionOffset() const
Context object for machine code objects.
StringRef getSectionName() const
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...
The instances of the Type class are immutable: once they are created, they are never changed...
unsigned getFlags() const
This represents a section on wasm.
void setSectionOffset(uint64_t Offset)
SectionKind - This is a simple POD value that classifies the properties of a section.
void setFlags(unsigned F)
Triple - Helper class for working with autoconf configuration names.
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name. ...
unsigned getUniqueID() const
void PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
const MCSymbolWasm * getGroup() const
static std::vector< std::string > Flags
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.
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.