33 "Bad alignment of MCSymbol");
34 void *Storage = Ctx.allocate(Size, alignOf<NameEntryStorageTy>());
41 assert(!
IsUsed &&
"Cannot set a variable that has already been used.");
42 assert(Value &&
"Invalid variable value!");
45 "Cannot give common/offset symbol a variable value");
76 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
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...
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
print - Print the value to the stream OS.
AlignOf - A templated class that contains an enum value representing the alignment of the template ar...
LLVM_ATTRIBUTE_NORETURN void report_fatal_error(const char *reason, bool gen_crash_diag=true)
Reports a serious error, calling any installed error handler.
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...
void setUndefined()
Mark the symbol as undefined.
unsigned IsUsed
IsUsed - True if this symbol has been used.
static MCSection * AbsolutePseudoSection
unsigned SymbolContents
This is actually a Contents enumerator, but is unsigned to avoid sign extension and achieve better bi...
void setVariableValue(const MCExpr *Value)
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
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.
void dump() const
dump - Print the value to stderr.