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

private uint16_t Type = 0
This corresponds to the e_type field of the COFF symbol.

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

Inherited from MCSymbol:

Methods

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)

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:61

Parameters

const llvm::MCSymbol* S

uint16_t getClass() const

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:40

uint16_t getType() const

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:33

bool isSafeSEH() const

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:54

bool isWeakExternal() const

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:47

void setClass(uint16_t StorageClass) const

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:43

Parameters

uint16_t StorageClass

void setIsSafeSEH() const

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:57

void setIsWeakExternal() const

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:50

void setType(uint16_t Ty) const

Declared at: llvm/include/llvm/MC/MCSymbolCOFF.h:36

Parameters

uint16_t Ty