class MCSymbolELF

Declaration

class MCSymbolELF : 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/MCSymbolELF.h:14

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

Inherited from MCSymbol:

Methods

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

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:20

Parameters

const StringMapEntry<bool>* Name
bool isTemporary

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

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

Parameters

const llvm::MCSymbol* S

unsigned int getBinding() const

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

unsigned int getOther() const

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:30

const llvm::MCExpr* getSize() const

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:24

unsigned int getType() const

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

unsigned int getVisibility() const

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

bool isBindingSet() const

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:38

bool isSignature() const

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:44

bool isWeakrefUsedInReloc() const

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

void setBinding(unsigned int Binding) const

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:35

Parameters

unsigned int Binding

void setIsSignature() const

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

void setIsWeakrefUsedInReloc() const

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

void setOther(unsigned int Other)

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:29

Parameters

unsigned int Other

void setSize(const llvm::MCExpr* SS)

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

Parameters

const llvm::MCExpr* SS

void setType(unsigned int Type) const

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:32

Parameters

unsigned int Type

void setVisibility(unsigned int Visibility)

Declared at: llvm/include/llvm/MC/MCSymbolELF.h:26

Parameters

unsigned int Visibility