class MCSymbolCOFF
Declaration
class MCSymbolCOFF : 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/MCSymbolCOFF.h:17
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 MCSymbolCOFF(const StringMapEntry<bool> * Name, bool isTemporary)
- public static bool classof(const llvm::MCSymbol * S)
- public uint16_t getClass() const
- public uint16_t getType() const
- public bool isSafeSEH() const
- public bool isWeakExternal() const
- public void setClass(uint16_t StorageClass) const
- public void setIsSafeSEH() const
- public void setIsWeakExternal() const
- public void setType(uint16_t Ty) 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
¶MCSymbolCOFF(const StringMapEntry<bool>* Name,
bool isTemporary)
MCSymbolCOFF(const StringMapEntry<bool>* Name,
bool isTemporary)
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:30
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/MCSymbolCOFF.h:61
Parameters
- const llvm::MCSymbol* S
¶uint16_t getClass() const
uint16_t getClass() const
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:40
¶uint16_t getType() const
uint16_t getType() const
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:33
¶bool isSafeSEH() const
bool isSafeSEH() const
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:54
¶bool isWeakExternal() const
bool isWeakExternal() const
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:47
¶void setClass(uint16_t StorageClass) const
void setClass(uint16_t StorageClass) const
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:43
Parameters
- uint16_t StorageClass
¶void setIsSafeSEH() const
void setIsSafeSEH() const
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:57
¶void setIsWeakExternal() const
void setIsWeakExternal() const
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:50
¶void setType(uint16_t Ty) const
void setType(uint16_t Ty) const
Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:36
Parameters
- uint16_t Ty