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);
139 OS <<
"preinit_array";
155 OS <<
"llvm_linker_options";
157 OS <<
"llvm_call_graph_profile";
163 assert(Flags & ELF::SHF_MERGE);
164 OS <<
"," << EntrySize;
167 if (Flags & ELF::SHF_GROUP) {
173 if (Flags & ELF::SHF_LINK_ORDER) {
180 OS <<
",unique," << UniqueID;
185 OS <<
"\t.subsection\t";
186 Subsection->
print(OS, &MAI);
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.
This class represents lattice values for constants.
All sections with the "d" flag are grouped together by the linker to form the data section and the dp...
static void printName(raw_ostream &OS, StringRef Name)
All sections with the "c" flag are grouped together by the linker to form the constant pool and the c...
amdgpu Simplify well known AMD library false Value Value const Twine & Name
Base class for the full range of assembler expressions which are needed for parsing.
bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const
Decides whether a '.section' directive should be printed before the section name. ...
virtual bool shouldOmitSectionDirective(StringRef SectionName) const
Return true if the .section directive should be omitted when emitting SectionName.
ArchType getArch() const
getArch - Get the parsed architecture type of this triple.
This class is intended to be used as a base class for asm properties and features specific to the tar...
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
void print(raw_ostream &OS, const MCAsmInfo *MAI, bool InParens=false) const
The instances of the Type class are immutable: once they are created, they are never changed...
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
bool isVirtualSection() const override
Check whether this section is "virtual", that is has no actual object file contents.
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.
StringRef getCommentString() const
Triple - Helper class for working with autoconf configuration names.
static Twine utohexstr(const uint64_t &Val)
bool usesSunStyleELFSectionSwitchSyntax() const
bool isThumb() const
Tests whether the target is Thumb (little and big endian).
StringRef getName() const
getName - Get the symbol name.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
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.
unsigned getFlags() const
bool isARM() const
Tests whether the target is ARM (little and big endian).
StringRef getSectionName() const