83 MCSymbol *PCSym = Context.createTempSymbol();
90 return (C >=
'a' && C <=
'z') || (C >=
'A' && C <=
'Z') ||
91 (C >=
'0' && C <=
'9') || C ==
'_' || C ==
'$' || C ==
'.' || C ==
'@';
100 for (
char C : Name) {
110 return SectionName ==
".text" || SectionName ==
".data" ||
const char * Code16Directive
These are assembly directives that tells the assembler to interpret the following instructions differ...
virtual bool isValidUnquotedName(StringRef Name) const
Return true if the identifier Name does not need quotes to be syntactically correct.
Instances of this class represent a uniqued identifier for a section in the current translation unit...
bool UseIntegratedAssembler
Should we use the integrated assembler? The integrated assembler should be enabled by default (by the...
StringRef PrivateLabelPrefix
This prefix is used for labels for basic blocks.
const char * WeakDirective
Used to declare a global as being a weak symbol. Defaults to ".weak".
static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx)
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
const char * Data64bitsDirective
const char * ZeroDirective
This should be set to the directive used to get some number of zero bytes emitted to the current sect...
const char * GlobalDirective
This is the directive used to declare a global entity.
virtual bool isSectionAtomizableBySymbols(const MCSection &Section) const
True if the section is atomized using the symbols in it.
const char * AsciiDirective
This directive allows emission of an ascii string with the standard C escape characters embedded into...
const char * SeparatorString
This string, if specified, is used to separate instructions from each other when on the same line...
virtual const MCExpr * getExprForPersonalitySymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const
StringRef CommentString
This indicates the comment character used by the assembler.
const char * Data8bitsDirective
These directives are used to output some unit of integer data to the current section.
Base class for the full range of assembler expressions which are needed for parsing.
MCContext & getContext() const
Context object for machine code objects.
static const MCBinaryExpr * createSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
const char * Code32Directive
const char * AscizDirective
If not null, this allows for special handling of zero terminated strings on this target.
virtual bool shouldOmitSectionDirective(StringRef SectionName) const
Return true if the .section directive should be omitted when emitting SectionName.
const char * InlineAsmStart
If these are nonempty, they contain a directive to emit before and after an inline assembly statement...
Streaming machine code generation interface.
const char * Data16bitsDirective
bool usesELFSectionDirectiveForBSS() const
const char * LabelSuffix
This is appended to emitted labels. Defaults to ":".
const char * InlineAsmEnd
const char * Data32bitsDirective
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool empty() const
empty - Check if the string is empty.
bool PreserveAsmComments
Preserve Comments in assembly.
StringRef LinkerPrivateGlobalPrefix
This prefix is used for symbols that should be passed through the assembler but be removed by the lin...
static bool isAcceptableChar(char C)
virtual const MCExpr * getExprForFDESymbol(const MCSymbol *Sym, unsigned Encoding, MCStreamer &Streamer) const
virtual void EmitLabel(MCSymbol *Symbol, SMLoc Loc=SMLoc())
Emit a label for Symbol into the current section.
StringRef - Represent a constant reference to a string, i.e.
StringRef PrivateGlobalPrefix
This prefix is used for globals like constant pool entries that are completely private to the ...
const char * Code64Directive