10 #ifndef LLVM_MC_MCSYMBOLCOFF_H 11 #define LLVM_MC_MCSYMBOLCOFF_H 20 mutable uint16_t
Type = 0;
22 enum SymbolFlags : uint16_t {
23 SF_ClassMask = 0x00FF,
26 SF_WeakExternal = 0x0100,
42 return (
getFlags() & SF_ClassMask) >> SF_ClassShift;
45 modifyFlags(StorageClass << SF_ClassShift, SF_ClassMask);
67 #endif // LLVM_MC_MCSYMBOLCOFF_H
This class represents lattice values for constants.
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
void setIsWeakExternal() const
MCSymbolCOFF(const StringMapEntry< bool > *Name, bool isTemporary)
COFF::SymbolStorageClass StorageClass
amdgpu Simplify well known AMD library false Value Value const Twine & Name
void setClass(uint16_t StorageClass) const
The instances of the Type class are immutable: once they are created, they are never changed...
bool isWeakExternal() const
bool isTemporary() const
isTemporary - Check if this is an assembler temporary symbol.
static bool classof(const MCSymbol *S)
void setIsSafeSEH() const
void setType(uint16_t Ty) const
uint16_t getClass() const
void modifyFlags(uint32_t Value, uint32_t Mask) const
Modify the flags via a mask.
uint32_t getFlags() const
Get the (implementation defined) symbol flags.