11#include "llvm/Config/llvm-config.h"
25static_assert(
sizeof(
MCSymbol) <= 24,
"Keep the base symbol small");
43 "Bad alignment of MCSymbol");
53 "Cannot equate a common symbol");
86#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
static MCFragment SentinelFragment
This class is intended to be used as a base class for asm properties and features specific to the tar...
bool supportsNameQuoting() const
virtual bool isValidUnquotedName(StringRef Name) const
Return true if the identifier Name does not need quotes to be syntactically correct.
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
LLVM_ABI void print(raw_ostream &OS, const MCAsmInfo *MAI) const
print - Print the value to the stream OS.
StringRef getName() const
getName - Get the symbol name.
union { const MCSymbolTableEntry *NameEntry NameEntryStorageTy
The name for a symbol.
LLVM_ABI void setVariableValue(const MCExpr *Value)
MCFragment * Fragment
If a symbol has a Fragment, the section is implied, so we only need one pointer.
unsigned kind
The symbol kind.
static LLVM_ABI MCFragment * AbsolutePseudoFragment
LLVM_ABI void dump() const
dump - Print the value to stderr.
const MCExpr * Value
If non-null, the value for a variable symbol.
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
This class implements an extremely fast bulk output stream that can only output to a stream.
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
LLVM_ABI void report_fatal_error(Error Err, bool gen_crash_diag=true)