35 "abcdefghijklmnopqrstuvwxyz"
36 "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == Name.
npos) {
41 for (
const char *
B = Name.
begin(), *
E = Name.
end();
B <
E; ++
B) {
58 const MCExpr *Subsection)
const {
63 Subsection->
print(OS, &MAI);
137 OS <<
"preinit_array";
157 assert(Flags & ELF::SHF_MERGE);
158 OS <<
"," << EntrySize;
161 if (Flags & ELF::SHF_GROUP) {
167 if (Flags & ELF::SHF_LINK_ORDER) {
174 OS <<
",unique," << UniqueID;
179 OS <<
"\t.subsection\t";
180 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.
LLVM_ATTRIBUTE_NORETURN void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
static void printName(raw_ostream &OS, StringRef Name)
unsigned getFlags() const
StringRef getCommentString() const
Base class for the full range of assembler expressions which are needed for parsing.
ArchType getArch() const
getArch - Get the parsed architecture type of this triple.
virtual bool shouldOmitSectionDirective(StringRef SectionName) const
Return true if the .section directive should be omitted when emitting SectionName.
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
All sections with the "d" flag are grouped together by the linker to form the data section and the dp...
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.
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. ...
static Twine utohexstr(const uint64_t &Val)
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())
All sections with the "c" flag are grouped together by the linker to form the constant pool and the c...
This class implements an extremely fast bulk output stream that can only output to a stream...
void PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const override
StringRef - Represent a constant reference to a string, i.e.