30 if (Name.find_first_not_of(
"0123456789_."
31 "abcdefghijklmnopqrstuvwxyz"
32 "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == Name.npos) {
37 for (
const char *
B = Name.begin(), *
E = Name.end();
B <
E; ++
B) {
52void MCAsmInfoWasm::printSwitchToSection(
const MCSection &Section,
53 uint32_t Subsection,
const Triple &
T,
55 auto &Sec =
static_cast<const MCSectionWasm &
>(
Section);
57 OS <<
'\t' << Sec.getName();
59 OS <<
'\t' << Subsection;
98 OS <<
",unique," << Sec.UniqueID;
103 OS <<
"\t.subsection\t" << Subsection <<
'\n';
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
static void printName(raw_ostream &OS, StringRef Name)
MCAsmInfoWasm(const MCTargetOptions &Options)
StringRef InternalSymbolPrefix
For internal use by compiler and assembler, not meant to be visible externally.
bool HasNoDeadStrip
True if this target supports the MachO .no_dead_strip directive.
MCAsmInfo(const MCTargetOptions &Options)
const char * WeakRefDirective
This directive, if non-null, is used to declare a global as being a weak undefined symbol.
StringRef getCommentString() const
virtual bool shouldOmitSectionDirective(StringRef SectionName) const
Return true if the .section directive should be omitted when emitting SectionName.
bool HasIdentDirective
True if the target has a .ident directive, this is true for ELF targets.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Represent a constant reference to a string, i.e.
Triple - Helper class for working with autoconf configuration names.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.