35 "abcdefghijklmnopqrstuvwxyz"
36 "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == Name.
npos) {
41 for (
const char *
B = Name.
begin(), *
E = Name.
end();
B <
E; ++
B) {
58 const MCExpr *Subsection)
const {
64 Subsection->
print(OS, &MAI);
131 OS <<
"preinit_array";
143 OS <<
"," << EntrySize;
146 if (
Flags & ELF::SHF_GROUP) {
153 OS <<
",unique," << UniqueID;
158 OS <<
"\t.subsection\t";
159 Subsection->
print(OS, &MAI);
StringRef getSectionName() const
bool UseCodeAlign() const override
Return true if a .align directive should use "optimized nops" to fill instead of 0s.
static void printName(raw_ostream &OS, StringRef Name)
unsigned getFlags() const
XCORE_SHF_CP_SECTION - All sections with the "c" flag are grouped together by the linker to form the ...
StringRef getCommentString() const
struct fuzzer::@269 Flags
Base class for the full range of assembler expressions which are needed for parsing.
static GCRegistry::Add< OcamlGC > B("ocaml","ocaml 3.10-compatible GC")
virtual bool shouldOmitSectionDirective(StringRef SectionName) const
Return true if the .section directive should be omitted when emitting SectionName.
static GCRegistry::Add< CoreCLRGC > E("coreclr","CoreCLR-compatible GC")
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...
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
bool usesSunStyleELFSectionSwitchSyntax() const
XCORE_SHF_DP_SECTION - All sections with the "d" flag are grouped together by the linker to form the ...
LLVM_NODISCARD size_t find_first_not_of(char C, size_t From=0) const
Find the first character in the string that is not C or npos if not found.
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name. ...
void PrintSwitchToSection(const MCAsmInfo &MAI, raw_ostream &OS, const MCExpr *Subsection) const override
StringRef getName() const
getName - Get the symbol name.
void print(raw_ostream &OS, const MCAsmInfo *MAI, bool InParens=false) const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
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.