Represents an ELF machine code symbol.
Synopsis
Declared in <llvm/MC/MCSymbolELF.h>
class MCSymbolELF
: public MCSymbol
Base Classes
Name |
Description |
Represents a symbol name in the MC file. |
Member Functions
Name |
Description |
|
Construct an ELF symbol, optionally named, possibly as a temporary. |
Declare this symbol as being 'common'. |
|
dump ‐ Print the value to stderr. |
|
Return the ELF symbol binding (STB_*). |
|
Return the alignment of a 'common' symbol. |
|
Return the size of a 'common' symbol. |
|
Get the fragment this symbol is associated with, resolving aliases. |
|
Get the (implementation defined) index. |
|
getName ‐ Get the symbol name. |
|
Get the byte offset of this regular symbol within its fragment. |
|
Return the non‐visibility bits of the ELF |
|
Get the section associated with a defined, non‐absolute symbol. |
|
Return the expression that computes this symbol's size. |
|
Return the ELF symbol type (STT_*). |
|
Get the expression of the variable symbol. |
|
Return the ELF symbol visibility (STV_*). |
|
isAbsolute ‐ Check if this is an absolute symbol. |
|
Return true if an explicit binding has been set. |
|
Is this a 'common' symbol. |
|
isDefined ‐ Check if this symbol is defined (i.e., it has an address). |
|
isInSection ‐ Check if this symbol is defined in some section (i.e., it is defined but not absolute). |
|
Return true if this symbol is memory‐tagged. |
|
Check if this symbol is redefinable. |
|
Return true if this symbol has been registered. |
|
Return whether this symbol is currently being resolved (cycle detection). |
|
Return true if this symbol is an ELF section group signature. |
|
isTemporary ‐ Check if this is an assembler temporary symbol. |
|
isUndefined ‐ Check if this symbol undefined (i.e., implicitly defined). |
|
Return true if a relocation has used this symbol. |
|
isVariable ‐ Check if this is a variable symbol. |
|
Return true if this is a COFF weak‐external symbol. |
|
Return true if this symbol is a |
|
|
|
Prepare this symbol to be redefined. |
|
Set the ELF symbol binding (STB_*). |
|
Mark this symbol as being 'common'. |
|
Mark the symbol as defined in the fragment |
|
Set the (implementation defined) index. |
|
Set whether this symbol has been registered. |
|
Set whether this symbol is currently being resolved (cycle detection). |
|
Mark this symbol as an ELF section group signature. |
|
Mark this symbol as a |
|
Set whether this symbol is memory‐tagged. |
|
Set the byte offset of this regular symbol within its fragment. |
|
Set the non‐visibility bits of the ELF |
|
Mark this symbol as redefinable. |
|
Set the expression that computes this symbol's size. |
|
Set the ELF symbol type (STT_*). |
|
Mark this symbol as used in a relocation. |
|
Set this symbol as a variable whose value is the given expression. |
|
Set the ELF symbol visibility (STV_*). |
Data Members
Name |
Description |
|
The size of the symbol, if it is 'common'. |
|
The offset to apply to the fragment address to form this symbol's value. |
|
If non‐null, the value for a variable symbol. |
Protected Types
Name |
Description |
Discriminated storage for offset, common size, or variable expression. |
|
Storage preceding an |
Protected Type Aliases
Name |
Description |
Storage preceding an |
Protected Enums
Name |
Description |
Number of bits used to encode common‐symbol alignment. |
|
Discriminator for how this symbol's value is represented. |
Protected Member Functions
Name |
Description |
|
Deleted copy assignment. |
Get the (implementation defined) symbol flags. |
|
Modify the flags via a mask. |
|
Allocate an |
|
Set the (implementation defined) symbol flags. |
Protected Data Members
Name |
Description |
The alignment of the symbol if it is 'common'. |
|
Object‐file‐specific per‐symbol flags not easily classified elsewhere. |
|
Fragment or absolute sentinel that locates this symbol's value. |
|
True if this symbol is named. A named symbol will have a pointer to the name allocated in the bytes immediately prior to the MCSymbol. |
|
Index field, for use by the object file implementation. |
|
True if this symbol is visible outside this translation unit. Note: ELF uses binding instead of this bit. |
|
Mach‐O specific: This symbol is private extern. |
|
True if this symbol can be redefined. |
|
True if this symbol has been registered with the context/object writer. |
|
Used to detect cyclic dependency like |
|
IsTemporary ‐ True if this is an assembler temporary label, which typically does not survive in the .o file's symbol table. Usually "Lfoo" or ".foo". |
|
True if we have created a relocation that uses this symbol. |
|
This symbol is weak external. |
|
The symbol kind. Use an unsigned bitfield to achieve better bitpacking with MSVC. |
Protected Static Data Members
Name |
Description |
Sentinel fragment value used for absolute symbols. |
Friends
Name |
Description |
Target asm properties for ELF‐based targets. |
Non-Member Functions
Name |
Description |
Return true if the distance between |
Created with MrDocs