|
MCSymbolWasm (const MCSymbolTableEntry *Name, bool isTemporary) |
| bool |
isExternal () const |
| void |
setExternal (bool Value) const |
| const MCExpr * |
getSize () const |
| void |
setSize (const MCExpr *SS) |
| bool |
isFunction () const |
| bool |
isData () const |
| bool |
isGlobal () const |
| bool |
isTable () const |
| bool |
isSection () const |
| bool |
isTag () const |
| std::optional< wasm::WasmSymbolType > |
getType () const |
| void |
setType (wasm::WasmSymbolType type) |
| bool |
isExported () const |
| void |
setExported () const |
| bool |
isNoStrip () const |
| void |
setNoStrip () const |
| bool |
isTLS () const |
| void |
setTLS () const |
| bool |
isWeak () const |
| void |
setWeak (bool isWeak) |
| bool |
isHidden () const |
| void |
setHidden (bool isHidden) |
| bool |
isComdat () const |
| void |
setComdat (bool isComdat) |
| bool |
omitFromLinkingSection () const |
| void |
setOmitFromLinkingSection () |
| bool |
hasImportModule () const |
| StringRef |
getImportModule () const |
| void |
setImportModule (StringRef Name) |
| bool |
hasImportName () const |
| StringRef |
getImportName () const |
| void |
setImportName (StringRef Name) |
| bool |
hasExportName () const |
| StringRef |
getExportName () const |
| void |
setExportName (StringRef Name) |
| bool |
isFunctionTable () const |
| void |
setFunctionTable (bool is64) |
| void |
setUsedInGOT () const |
| bool |
isUsedInGOT () const |
| void |
setUsedInInitArray () const |
| bool |
isUsedInInitArray () const |
| const wasm::WasmSignature * |
getSignature () const |
| void |
setSignature (wasm::WasmSignature *Sig) |
| const wasm::WasmGlobalType & |
getGlobalType () const |
| void |
setGlobalType (wasm::WasmGlobalType GT) |
| bool |
hasTableType () const |
| const wasm::WasmTableType & |
getTableType () const |
| void |
setTableType (wasm::WasmTableType TT) |
| void |
setTableType (wasm::ValType VT, uint8_t flags=wasm::WASM_LIMITS_FLAG_NONE) |
| Public Member Functions inherited from llvm::MCSymbol |
|
| StringRef |
getName () const |
|
getName - Get the symbol name. |
| bool |
isRegistered () const |
| void |
setIsRegistered (bool Value) const |
| void |
setUsedInReloc () const |
| bool |
isUsedInReloc () const |
| uint32_t |
getIndex () const |
|
Get the (implementation defined) index. |
| void |
setIndex (uint32_t Value) const |
|
Set the (implementation defined) index. |
| uint64_t |
getOffset () const |
| void |
setOffset (uint64_t Value) |
| uint64_t |
getCommonSize () const |
|
Return the size of a 'common' symbol. |
| void |
setCommon (uint64_t Size, Align Alignment) |
|
Mark this symbol as being 'common'. |
| MaybeAlign |
getCommonAlignment () const |
|
Return the alignment of a 'common' symbol. |
| bool |
declareCommon (uint64_t Size, Align Alignment) |
|
Declare this symbol as being 'common'. |
| bool |
isCommon () const |
|
Is this a 'common' symbol. |
| MCFragment * |
getFragment () const |
| bool |
isWeakExternal () const |
| LLVM_ABI void |
print (raw_ostream &OS, const MCAsmInfo *MAI) const |
|
print - Print the value to the stream OS. |
| LLVM_ABI void |
dump () const |
|
dump - Print the value to stderr. |
| bool |
isTemporary () const |
|
isTemporary - Check if this is an assembler temporary symbol. |
| bool |
isRedefinable () const |
|
Check if this symbol is redefinable. |
| void |
setRedefinable (bool Value) |
|
Mark this symbol as redefinable. |
| void |
redefineIfPossible () |
|
Prepare this symbol to be redefined. |
| bool |
isResolving () const |
| void |
setIsResolving (bool V) |
| bool |
isDefined () const |
|
isDefined - Check if this symbol is defined (i.e., it has an address). |
| bool |
isInSection () const |
|
isInSection - Check if this symbol is defined in some section (i.e., it is defined but not absolute). |
| bool |
isUndefined () const |
|
isUndefined - Check if this symbol undefined (i.e., implicitly defined). |
| bool |
isAbsolute () const |
|
isAbsolute - Check if this is an absolute symbol. |
| MCSection & |
getSection () const |
|
Get the section associated with a defined, non-absolute symbol. |
| void |
setFragment (MCFragment *F) const |
|
Mark the symbol as defined in the fragment F. |
| bool |
isVariable () const |
|
isVariable - Check if this is a variable symbol. |
| const MCExpr * |
getVariableValue () const |
|
Get the expression of the variable symbol. |
| LLVM_ABI void |
setVariableValue (const MCExpr *Value) |