class MCSymbolMachO
Declaration
class MCSymbolMachO : 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/MCSymbolMachO.h:15
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 MCSymbolMachO(const StringMapEntry<bool> * Name, bool isTemporary)
- public static bool classof(const llvm::MCSymbol * S)
- public void clearReferenceType() const
- public uint16_t getEncodedFlags(bool EncodeAsAltEntry) const
- public bool isAltEntry() const
- public bool isCold() const
- public bool isNoDeadStrip() const
- public bool isSymbolResolver() const
- public bool isWeakDefinition() const
- public bool isWeakReference() const
- public void setAltEntry() const
- public void setCold() const
- public void setDesc(unsigned int Value) const
- public void setNoDeadStrip() const
- public void setReferenceTypeUndefinedLazy(bool Value) const
- public void setSymbolResolver() const
- public void setThumbFunc() const
- public void setWeakDefinition() const
- public void setWeakReference() const
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
¶MCSymbolMachO(const StringMapEntry<bool>* Name,
bool isTemporary)
MCSymbolMachO(const StringMapEntry<bool>* Name,
bool isTemporary)
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:45
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/MCSymbolMachO.h:136
Parameters
- const llvm::MCSymbol* S
¶void clearReferenceType() const
void clearReferenceType() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:50
¶uint16_t getEncodedFlags(
bool EncodeAsAltEntry) const
uint16_t getEncodedFlags(
bool EncodeAsAltEntry) const
Description
Get the encoded value of the flags as they will be emitted in to the MachO binary
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:113
Parameters
- bool EncodeAsAltEntry
¶bool isAltEntry() const
bool isAltEntry() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:97
¶bool isCold() const
bool isCold() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:103
¶bool isNoDeadStrip() const
bool isNoDeadStrip() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:65
¶bool isSymbolResolver() const
bool isSymbolResolver() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:86
¶bool isWeakDefinition() const
bool isWeakDefinition() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:79
¶bool isWeakReference() const
bool isWeakReference() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:72
¶void setAltEntry() const
void setAltEntry() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:93
¶void setCold() const
void setCold() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:101
¶void setDesc(unsigned int Value) const
void setDesc(unsigned int Value) const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:105
Parameters
- unsigned int Value
¶void setNoDeadStrip() const
void setNoDeadStrip() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:68
¶void setReferenceTypeUndefinedLazy(
bool Value) const
void setReferenceTypeUndefinedLazy(
bool Value) const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:54
Parameters
- bool Value
¶void setSymbolResolver() const
void setSymbolResolver() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:89
¶void setThumbFunc() const
void setThumbFunc() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:61
¶void setWeakDefinition() const
void setWeakDefinition() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:82
¶void setWeakReference() const
void setWeakReference() const
Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:75