LLVM
8.0.1
|
#include "llvm/MC/MCSymbolWasm.h"
Static Public Member Functions | |
static bool | classof (const MCSymbol *S) |
Additional Inherited Members | |
Protected Types inherited from llvm::MCSymbol | |
enum | SymbolKind { SymbolKindUnset, SymbolKindCOFF, SymbolKindELF, SymbolKindMachO, SymbolKindWasm } |
The kind of the symbol. More... | |
enum | Contents : uint8_t { SymContentsUnset, SymContentsOffset, SymContentsVariable, SymContentsCommon } |
A symbol can contain an Offset, or Value, or be Common, but never more than one of these. More... | |
enum | : unsigned { NumCommonAlignmentBits = 5 } |
The alignment of the symbol, if it is 'common', or -1. More... | |
enum | : unsigned { NumFlagsBits = 16 } |
The Flags field is used by object file implementations to store additional per symbol information which is not easily classified. More... | |
using | NameEntryStorageTy = union { const StringMapEntry< bool > *NameEntry |
The name for a symbol. More... | |
Protected Member Functions inherited from llvm::MCSymbol | |
MCSymbol (SymbolKind Kind, const StringMapEntry< bool > *Name, bool isTemporary) | |
void * | operator new (size_t s, const StringMapEntry< bool > *Name, MCContext &Ctx) |
uint32_t | getFlags () const |
Get the (implementation defined) symbol flags. More... | |
void | setFlags (uint32_t Value) const |
Set the (implementation defined) symbol flags. More... | |
void | modifyFlags (uint32_t Value, uint32_t Mask) const |
Modify the flags via a mask. More... | |
Protected Attributes inherited from llvm::MCSymbol | |
PointerIntPair< MCFragment *, 1 > | FragmentAndHasName |
If a symbol has a Fragment, the section is implied, so we only need one pointer. More... | |
unsigned | IsTemporary: 1 |
IsTemporary - True if this is an assembler temporary label, which typically does not survive in the .o file's symbol table. More... | |
unsigned | IsRedefinable: 1 |
True if this symbol can be redefined. More... | |
unsigned | IsUsed: 1 |
IsUsed - True if this symbol has been used. More... | |
unsigned | IsRegistered: 1 |
unsigned | IsExternal: 1 |
This symbol is visible outside this translation unit. More... | |
unsigned | IsPrivateExtern: 1 |
This symbol is private extern. More... | |
unsigned | Kind: 3 |
LLVM RTTI discriminator. More... | |
unsigned | IsUsedInReloc: 1 |
True if we have created a relocation that uses this symbol. More... | |
unsigned | SymbolContents: 2 |
This is actually a Contents enumerator, but is unsigned to avoid sign extension and achieve better bitpacking with MSVC. More... | |
unsigned | CommonAlignLog2: NumCommonAlignmentBits |
uint32_t | Flags: NumFlagsBits |
uint32_t | Index = 0 |
Index field, for use by the object file implementation. More... | |
union { | |
uint64_t Offset | |
The offset to apply to the fragment address to form this symbol's value. More... | |
uint64_t CommonSize | |
The size of the symbol, if it is 'common'. More... | |
const MCExpr * Value | |
If non-null, the value for a variable symbol. More... | |
}; | |
uint64_t | AlignmentPadding |
Static Protected Attributes inherited from llvm::MCSymbol | |
static MCFragment * | AbsolutePseudoFragment = &SentinelFragment |
Definition at line 17 of file MCSymbolWasm.h.
|
inline |
Definition at line 35 of file MCSymbolWasm.h.
Definition at line 37 of file MCSymbolWasm.h.
References llvm::MCSymbol::isWasm().
|
inline |
Definition at line 84 of file MCSymbolWasm.h.
References assert(), llvm::Optional< T >::getValue(), and llvm::Optional< T >::hasValue().
|
inline |
Definition at line 78 of file MCSymbolWasm.h.
References assert(), llvm::Optional< T >::getValue(), and llvm::Optional< T >::hasValue().
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitGlobalType().
Definition at line 59 of file MCSymbolWasm.h.
References llvm::Optional< T >::getValue(), and llvm::Optional< T >::hasValue().
Referenced by isInSymtab().
Definition at line 67 of file MCSymbolWasm.h.
References llvm::MCSymbol::getName(), llvm::Optional< T >::getValue(), and llvm::Optional< T >::hasValue().
Referenced by isInSymtab().
|
inline |
Definition at line 75 of file MCSymbolWasm.h.
Referenced by addData(), llvm::WebAssemblyTargetAsmStreamer::emitEventType(), and llvm::WebAssemblyTargetAsmStreamer::emitFunctionType().
Definition at line 39 of file MCSymbolWasm.h.
Referenced by isInSymtab().
|
inline |
Definition at line 47 of file MCSymbolWasm.h.
|
inline |
Definition at line 56 of file MCSymbolWasm.h.
Referenced by isInSymtab(), and setComdat().
|
inline |
Definition at line 43 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_DATA.
Referenced by isInSymtab().
|
inline |
Definition at line 46 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_EVENT.
Referenced by addData(), and llvm::WebAssemblyTargetAsmStreamer::emitEventType().
|
inline |
Definition at line 42 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_FUNCTION.
Referenced by addData(), llvm::WebAssemblyTargetAsmStreamer::emitFunctionType(), and ResolveSymbol().
|
inline |
Definition at line 44 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_GLOBAL.
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitGlobalType().
|
inline |
Definition at line 53 of file MCSymbolWasm.h.
Referenced by setHidden().
|
inline |
Definition at line 45 of file MCSymbolWasm.h.
References llvm::wasm::WASM_SYMBOL_TYPE_SECTION.
Referenced by isInSymtab().
|
inline |
Definition at line 50 of file MCSymbolWasm.h.
Referenced by setWeak().
|
inline |
Definition at line 57 of file MCSymbolWasm.h.
References isComdat().
Referenced by llvm::MCContext::getWasmSection().
|
inline |
Definition at line 88 of file MCSymbolWasm.h.
|
inline |
Definition at line 82 of file MCSymbolWasm.h.
References llvm::AArch64CC::GT.
|
inline |
Definition at line 54 of file MCSymbolWasm.h.
References isHidden().
|
inline |
Definition at line 65 of file MCSymbolWasm.h.
References Name.
|
inline |
Definition at line 73 of file MCSymbolWasm.h.
References Name.
|
inline |
Definition at line 76 of file MCSymbolWasm.h.
Referenced by llvm::WebAssemblyMCInstLower::Lower().
Definition at line 40 of file MCSymbolWasm.h.
|
inline |
Definition at line 48 of file MCSymbolWasm.h.
Referenced by llvm::WebAssemblyMCInstLower::Lower().
|
inline |
Definition at line 51 of file MCSymbolWasm.h.
References isWeak().