class MCSymbolXCOFF

Declaration

class MCSymbolXCOFF : 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/MCSymbolXCOFF.h:20

Inherits from: MCSymbol

Member Variables

private Optional<XCOFF::StorageClass> StorageClass
private llvm::MCSectionXCOFF* RepresentedCsect = nullptr
private XCOFF::VisibilityType VisibilityType = XCOFF::SYM_V_UNSPECIFIED
private llvm::StringRef SymbolTableName

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

MCSymbolXCOFF(const StringMapEntry<bool>* Name,
              bool isTemporary)

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:22

Parameters

const StringMapEntry<bool>* Name
bool isTemporary

static bool classof(const llvm::MCSymbol* S)

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:25

Parameters

const llvm::MCSymbol* S

llvm::MCSectionXCOFF* getRepresentedCsect() const

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:48

XCOFF::StorageClass getStorageClass() const

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:41

llvm::StringRef getSymbolTableName() const

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:60

static llvm::StringRef getUnqualifiedName(
    llvm::StringRef Name)

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:27

Parameters

llvm::StringRef Name

llvm::StringRef getUnqualifiedName() const

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:46

XCOFF::VisibilityType getVisibilityType() const

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

bool hasRename() const

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:56

void setRepresentedCsect(llvm::MCSectionXCOFF* C)

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

Parameters

llvm::MCSectionXCOFF* C

void setStorageClass(XCOFF::StorageClass SC)

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:37

Parameters

XCOFF::StorageClass SC

void setSymbolTableName(llvm::StringRef STN)

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:58

Parameters

llvm::StringRef STN

void setVisibilityType(XCOFF::VisibilityType SVT)

Declared at: llvm/include/llvm/MC/MCSymbolXCOFF.h:52

Parameters

XCOFF::VisibilityType SVT