class MCSymbolMachO

Declaration

class MCSymbolMachO : 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/MCSymbolMachO.h:15

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

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

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:45

Parameters

const StringMapEntry<bool>* Name
bool isTemporary

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

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:136

Parameters

const llvm::MCSymbol* S

void clearReferenceType() const

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

uint16_t getEncodedFlags(
    bool EncodeAsAltEntry) const

Description

Get the encoded value of the flags as they will be emitted in to the MachO binary

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:113

Parameters

bool EncodeAsAltEntry

bool isAltEntry() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:97

bool isCold() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:103

bool isNoDeadStrip() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:65

bool isSymbolResolver() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:86

bool isWeakDefinition() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:79

bool isWeakReference() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:72

void setAltEntry() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:93

void setCold() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:101

void setDesc(unsigned int Value) const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:105

Parameters

unsigned int Value

void setNoDeadStrip() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:68

void setReferenceTypeUndefinedLazy(
    bool Value) const

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

Parameters

bool Value

void setSymbolResolver() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:89

void setThumbFunc() const

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

void setWeakDefinition() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:82

void setWeakReference() const

Declared at: llvm/include/llvm/MC/MCSymbolMachO.h:75