LLVM 20.0.0git
|
The value for an entry in the symbol table of an MCContext. More...
#include "llvm/MC/MCSymbolTableEntry.h"
Public Attributes | |
MCSymbol * | Symbol = nullptr |
The symbol associated with the name, if any. | |
unsigned | NextUniqueID = 0 |
The next ID to dole out to an unnamed assembler temporary symbol with the prefix (symbol table key). | |
bool | Used = false |
Whether the name associated with this value is used for a symbol. | |
The value for an entry in the symbol table of an MCContext.
This is in a separate file, because MCSymbol uses MCSymbolTableEntry (see below) to reuse the name that is stored in the symbol table.
Definition at line 22 of file MCSymbolTableEntry.h.
unsigned llvm::MCSymbolTableValue::NextUniqueID = 0 |
The next ID to dole out to an unnamed assembler temporary symbol with the prefix (symbol table key).
Definition at line 28 of file MCSymbolTableEntry.h.
MCSymbol* llvm::MCSymbolTableValue::Symbol = nullptr |
The symbol associated with the name, if any.
Definition at line 24 of file MCSymbolTableEntry.h.
Referenced by llvm::MCContext::lookupSymbol().
bool llvm::MCSymbolTableValue::Used = false |
Whether the name associated with this value is used for a symbol.
This is not necessarily true: sometimes, we use a symbol table value without an associated symbol for accessing NextUniqueID when a suffix is added to a name. However, Used might be true even if Symbol is nullptr: temporary named symbols are not added to the symbol table.
Definition at line 35 of file MCSymbolTableEntry.h.