class MCSymbolWasm

Declaration

class MCSymbolWasm : 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/MCSymbolWasm.h:16

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

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

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

Parameters

const StringMapEntry<bool>* Name
bool isTemporary

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

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

Parameters

const llvm::MCSymbol* S

const wasm::WasmEventType& getEventType() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:107

const llvm::StringRef getExportName() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:92

const wasm::WasmGlobalType& getGlobalType() const

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

const llvm::StringRef getImportModule() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:74

const llvm::StringRef getImportName() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:83

const wasm::WasmSignature* getSignature() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:98

const llvm::MCExpr* getSize() const

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

wasm::WasmSymbolType getType() const

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

bool hasExportName() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:91

bool hasImportName() const

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

bool isComdat() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:71

bool isData() const

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

bool isEvent() const

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

bool isExported() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:51

bool isFunction() const

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

bool isGlobal() const

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

bool isHidden() const

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

bool isNoStrip() const

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

bool isSection() const

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

bool isUsedInGOT() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:96

bool isWeak() const

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

void setComdat(bool isComdat)

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

Parameters

bool isComdat

void setEventType(wasm::WasmEventType ET)

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:111

Parameters

wasm::WasmEventType ET

void setExportName(llvm::StringRef Name)

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

Parameters

llvm::StringRef Name

void setExported() const

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

void setGlobalType(wasm::WasmGlobalType GT)

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

Parameters

wasm::WasmGlobalType GT

void setHidden(bool isHidden)

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:69

Parameters

bool isHidden

void setImportModule(llvm::StringRef Name)

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:80

Parameters

llvm::StringRef Name

void setImportName(llvm::StringRef Name)

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

Parameters

llvm::StringRef Name

void setNoStrip() const

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

void setSignature(wasm::WasmSignature* Sig)

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:99

Parameters

wasm::WasmSignature* Sig

void setSize(const llvm::MCExpr* SS)

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

Parameters

const llvm::MCExpr* SS

void setType(wasm::WasmSymbolType type)

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:49

Parameters

wasm::WasmSymbolType type

void setUsedInGOT() const

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:95

void setWeak(bool isWeak)

Declared at: llvm/include/llvm/MC/MCSymbolWasm.h:66

Parameters

bool isWeak