class MCSymbolELF
Declaration
class MCSymbolELF : public MCSymbol { /* full declaration omitted */ };
Description
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created and uniqued by the MCContext class. MCSymbols should only be constructed with valid names for the object file. If the symbol is defined/emitted into the current translation unit, the Section member is set to indicate what section it lives in. Otherwise, if it is a reference to an external entity, it has a null section.
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:14
Inherits from: MCSymbol
Member Variables
Inherited from MCSymbol:
- protected FragmentAndHasName
- protected IsTemporary
- protected IsRedefinable
- protected IsUsed
- protected IsRegistered
- protected IsExternal
- protected IsPrivateExtern
- protected Kind
- protected IsUsedInReloc
- protected SymbolContents
- protected CommonAlignLog2
- protected Flags
- protected Index = 0
- protected
- protected static AbsolutePseudoFragment
Method Overview
- public MCSymbolELF(const StringMapEntry<bool> * Name, bool isTemporary)
- public static bool classof(const llvm::MCSymbol * S)
- public unsigned int getBinding() const
- public unsigned int getOther() const
- public const llvm::MCExpr * getSize() const
- public unsigned int getType() const
- public unsigned int getVisibility() const
- public bool isBindingSet() const
- public bool isSignature() const
- public bool isWeakrefUsedInReloc() const
- public void setBinding(unsigned int Binding) const
- public void setIsSignature() const
- public void setIsWeakrefUsedInReloc() const
- public void setOther(unsigned int Other)
- public void setSize(const llvm::MCExpr * SS)
- public void setType(unsigned int Type) const
- public void setVisibility(unsigned int Visibility)
Inherited from MCSymbol:
- public declareCommon
- public dump
- public getCommonAlignment
- public getCommonSize
- protected getFlags
- public getFragment
- public getIndex
- public getName
- public getOffset
- public getSection
- public getVariableValue
- public isAbsolute
- public isCOFF
- public isCommon
- public isDefined
- public isELF
- public isExternal
- public isInSection
- public isMachO
- public isPrivateExtern
- public isRedefinable
- public isRegistered
- public isTargetCommon
- public isTemporary
- public isUndefined
- public isUnset
- public isUsed
- public isUsedInReloc
- public isVariable
- public isWasm
- public isXCOFF
- protected modifyFlags
- public print
- public redefineIfPossible
- public setCommon
- public setExternal
- protected setFlags
- public setFragment
- public setIndex
- public setIsRegistered
- public setOffset
- public setPrivateExtern
- public setRedefinable
- public setUndefined
- public setUsedInReloc
- public setVariableValue
Methods
¶MCSymbolELF(const StringMapEntry<bool>* Name,
bool isTemporary)
MCSymbolELF(const StringMapEntry<bool>* Name,
bool isTemporary)
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:20
Parameters
- const StringMapEntry<bool>* Name
- bool isTemporary
¶static bool classof(const llvm::MCSymbol* S)
static bool classof(const llvm::MCSymbol* S)
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:46
Parameters
- const llvm::MCSymbol* S
¶unsigned int getBinding() const
unsigned int getBinding() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:36
¶unsigned int getOther() const
unsigned int getOther() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:30
¶const llvm::MCExpr* getSize() const
const llvm::MCExpr* getSize() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:24
¶unsigned int getType() const
unsigned int getType() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:33
¶unsigned int getVisibility() const
unsigned int getVisibility() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:27
¶bool isBindingSet() const
bool isBindingSet() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:38
¶bool isSignature() const
bool isSignature() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:44
¶bool isWeakrefUsedInReloc() const
bool isWeakrefUsedInReloc() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:41
¶void setBinding(unsigned int Binding) const
void setBinding(unsigned int Binding) const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:35
Parameters
- unsigned int Binding
¶void setIsSignature() const
void setIsSignature() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:43
¶void setIsWeakrefUsedInReloc() const
void setIsWeakrefUsedInReloc() const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:40
¶void setOther(unsigned int Other)
void setOther(unsigned int Other)
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:29
Parameters
- unsigned int Other
¶void setSize(const llvm::MCExpr* SS)
void setSize(const llvm::MCExpr* SS)
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:22
Parameters
- const llvm::MCExpr* SS
¶void setType(unsigned int Type) const
void setType(unsigned int Type) const
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:32
Parameters
- unsigned int Type
¶void setVisibility(unsigned int Visibility)
void setVisibility(unsigned int Visibility)
Declared at: llvm/include/llvm/MC/MCSymbolELF.h:26
Parameters
- unsigned int Visibility