35 "Bad alignment of MCSymbol");
43 assert(!
IsUsed &&
"Cannot set a variable that has already been used.");
44 assert(Value &&
"Invalid variable value!");
47 "Cannot give common/offset symbol a variable value");
virtual bool isValidUnquotedName(StringRef Name) const
Return true if the identifier Name does not need quotes to be syntactically correct.
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
print - Print the value to the stream OS.
LLVM_ATTRIBUTE_NORETURN void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds...
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
void dump() const
dump - Print the value to stderr.
Base class for the full range of assembler expressions which are needed for parsing.
Context object for machine code objects.
This class is intended to be used as a base class for asm properties and features specific to the tar...
static const unsigned End
static MCFragment * AbsolutePseudoFragment
void setUndefined()
Mark the symbol as undefined.
unsigned IsUsed
IsUsed - True if this symbol has been used.
unsigned SymbolContents
This is actually a Contents enumerator, but is unsigned to avoid sign extension and achieve better bi...
void setVariableValue(const MCExpr *Value)
static GCRegistry::Add< ShadowStackGC > C("shadow-stack","Very portable GC for uncooperative code generators")
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
StringRef getName() const
getName - Get the symbol name.
bool supportsNameQuoting() const
static MCDummyFragment SentinelFragment(nullptr)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
LLVM Value Representation.
This class implements an extremely fast bulk output stream that can only output to a stream...
const MCExpr * Value
If non-null, the value for a variable symbol.
StringRef - Represent a constant reference to a string, i.e.