LLVM 20.0.0git
Classes | Enumerations | Functions | Variables
llvm::wasm Namespace Reference

Classes

struct  WasmDataReference
 
struct  WasmDataSegment
 
struct  WasmDebugName
 
struct  WasmDylinkExportInfo
 
struct  WasmDylinkImportInfo
 
struct  WasmDylinkInfo
 
struct  WasmElemSegment
 
struct  WasmExport
 
struct  WasmFeatureEntry
 
struct  WasmFunction
 
struct  WasmGlobal
 
struct  WasmGlobalType
 
struct  WasmImport
 
struct  WasmInitExpr
 
struct  WasmInitExprMVP
 
struct  WasmInitFunc
 
struct  WasmLimits
 
struct  WasmLinkingData
 
struct  WasmLocalDecl
 
struct  WasmObjectHeader
 
struct  WasmProducerInfo
 
struct  WasmRelocation
 
struct  WasmSignature
 
struct  WasmSymbolInfo
 
struct  WasmTable
 
struct  WasmTableType
 
struct  WasmTag
 

Enumerations

enum  : unsigned {
  WASM_SEC_CUSTOM = 0 , WASM_SEC_TYPE = 1 , WASM_SEC_IMPORT = 2 , WASM_SEC_FUNCTION = 3 ,
  WASM_SEC_TABLE = 4 , WASM_SEC_MEMORY = 5 , WASM_SEC_GLOBAL = 6 , WASM_SEC_EXPORT = 7 ,
  WASM_SEC_START = 8 , WASM_SEC_ELEM = 9 , WASM_SEC_CODE = 10 , WASM_SEC_DATA = 11 ,
  WASM_SEC_DATACOUNT = 12 , WASM_SEC_TAG = 13 , WASM_SEC_LAST_KNOWN = WASM_SEC_TAG
}
 
enum  : unsigned {
  WASM_TYPE_I32 = 0x7F , WASM_TYPE_I64 = 0x7E , WASM_TYPE_F32 = 0x7D , WASM_TYPE_F64 = 0x7C ,
  WASM_TYPE_V128 = 0x7B , WASM_TYPE_NULLFUNCREF = 0x73 , WASM_TYPE_NULLEXTERNREF = 0x72 , WASM_TYPE_NULLEXNREF = 0x74 ,
  WASM_TYPE_NULLREF = 0x71 , WASM_TYPE_FUNCREF = 0x70 , WASM_TYPE_EXTERNREF = 0x6F , WASM_TYPE_EXNREF = 0x69 ,
  WASM_TYPE_ANYREF = 0x6E , WASM_TYPE_EQREF = 0x6D , WASM_TYPE_I31REF = 0x6C , WASM_TYPE_STRUCTREF = 0x6B ,
  WASM_TYPE_ARRAYREF = 0x6A , WASM_TYPE_NONNULLABLE = 0x64 , WASM_TYPE_NULLABLE = 0x63 , WASM_TYPE_FUNC = 0x60 ,
  WASM_TYPE_ARRAY = 0x5E , WASM_TYPE_STRUCT = 0x5F , WASM_TYPE_SUB = 0x50 , WASM_TYPE_SUB_FINAL = 0x4F ,
  WASM_TYPE_REC = 0x4E , WASM_TYPE_NORESULT = 0x40
}
 
enum  : unsigned {
  WASM_EXTERNAL_FUNCTION = 0x0 , WASM_EXTERNAL_TABLE = 0x1 , WASM_EXTERNAL_MEMORY = 0x2 , WASM_EXTERNAL_GLOBAL = 0x3 ,
  WASM_EXTERNAL_TAG = 0x4
}
 
enum  : unsigned {
  WASM_OPCODE_END = 0x0b , WASM_OPCODE_CALL = 0x10 , WASM_OPCODE_LOCAL_GET = 0x20 , WASM_OPCODE_LOCAL_SET = 0x21 ,
  WASM_OPCODE_LOCAL_TEE = 0x22 , WASM_OPCODE_GLOBAL_GET = 0x23 , WASM_OPCODE_GLOBAL_SET = 0x24 , WASM_OPCODE_I32_STORE = 0x36 ,
  WASM_OPCODE_I64_STORE = 0x37 , WASM_OPCODE_I32_CONST = 0x41 , WASM_OPCODE_I64_CONST = 0x42 , WASM_OPCODE_F32_CONST = 0x43 ,
  WASM_OPCODE_F64_CONST = 0x44 , WASM_OPCODE_I32_ADD = 0x6a , WASM_OPCODE_I32_SUB = 0x6b , WASM_OPCODE_I32_MUL = 0x6c ,
  WASM_OPCODE_I64_ADD = 0x7c , WASM_OPCODE_I64_SUB = 0x7d , WASM_OPCODE_I64_MUL = 0x7e , WASM_OPCODE_REF_NULL = 0xd0 ,
  WASM_OPCODE_REF_FUNC = 0xd2 , WASM_OPCODE_GC_PREFIX = 0xfb
}
 
enum  : unsigned {
  WASM_OPCODE_STRUCT_NEW = 0x00 , WASM_OPCODE_STRUCT_NEW_DEFAULT = 0x01 , WASM_OPCODE_ARRAY_NEW = 0x06 , WASM_OPCODE_ARRAY_NEW_DEFAULT = 0x07 ,
  WASM_OPCODE_ARRAY_NEW_FIXED = 0x08 , WASM_OPCODE_REF_I31 = 0x1c
}
 
enum  : unsigned {
  WASM_OPCODE_BLOCK = 0x02 , WASM_OPCODE_BR = 0x0c , WASM_OPCODE_BR_TABLE = 0x0e , WASM_OPCODE_RETURN = 0x0f ,
  WASM_OPCODE_DROP = 0x1a , WASM_OPCODE_MISC_PREFIX = 0xfc , WASM_OPCODE_MEMORY_INIT = 0x08 , WASM_OPCODE_MEMORY_FILL = 0x0b ,
  WASM_OPCODE_DATA_DROP = 0x09 , WASM_OPCODE_ATOMICS_PREFIX = 0xfe , WASM_OPCODE_ATOMIC_NOTIFY = 0x00 , WASM_OPCODE_I32_ATOMIC_WAIT = 0x01 ,
  WASM_OPCODE_I32_ATOMIC_STORE = 0x17 , WASM_OPCODE_I32_RMW_CMPXCHG = 0x48
}
 
enum  : unsigned { WASM_LIMITS_FLAG_NONE = 0x0 , WASM_LIMITS_FLAG_HAS_MAX = 0x1 , WASM_LIMITS_FLAG_IS_SHARED = 0x2 , WASM_LIMITS_FLAG_IS_64 = 0x4 }
 
enum  : unsigned { WASM_DATA_SEGMENT_IS_PASSIVE = 0x01 , WASM_DATA_SEGMENT_HAS_MEMINDEX = 0x02 }
 
enum  : unsigned { WASM_ELEM_SEGMENT_IS_PASSIVE = 0x01 , WASM_ELEM_SEGMENT_IS_DECLARATIVE = 0x02 , WASM_ELEM_SEGMENT_HAS_TABLE_NUMBER = 0x02 , WASM_ELEM_SEGMENT_HAS_INIT_EXPRS = 0x04 }
 
enum  : uint8_t { WASM_FEATURE_PREFIX_USED = '+' , WASM_FEATURE_PREFIX_REQUIRED = '=' , WASM_FEATURE_PREFIX_DISALLOWED = '-' }
 
enum  : unsigned {
  WASM_NAMES_MODULE = 0 , WASM_NAMES_FUNCTION = 1 , WASM_NAMES_LOCAL = 2 , WASM_NAMES_GLOBAL = 7 ,
  WASM_NAMES_DATA_SEGMENT = 9
}
 
enum  : unsigned { WASM_SEGMENT_INFO = 0x5 , WASM_INIT_FUNCS = 0x6 , WASM_COMDAT_INFO = 0x7 , WASM_SYMBOL_TABLE = 0x8 }
 
enum  : unsigned { WASM_DYLINK_MEM_INFO = 0x1 , WASM_DYLINK_NEEDED = 0x2 , WASM_DYLINK_EXPORT_INFO = 0x3 , WASM_DYLINK_IMPORT_INFO = 0x4 }
 
enum  : unsigned { WASM_COMDAT_DATA = 0x0 , WASM_COMDAT_FUNCTION = 0x1 , WASM_COMDAT_SECTION = 0x5 }
 
enum  WasmSymbolType : unsigned {
  WASM_SYMBOL_TYPE_FUNCTION = 0x0 , WASM_SYMBOL_TYPE_DATA = 0x1 , WASM_SYMBOL_TYPE_GLOBAL = 0x2 , WASM_SYMBOL_TYPE_SECTION = 0x3 ,
  WASM_SYMBOL_TYPE_TAG = 0x4 , WASM_SYMBOL_TYPE_TABLE = 0x5
}
 
enum  WasmSegmentFlag : unsigned { WASM_SEG_FLAG_STRINGS = 0x1 , WASM_SEG_FLAG_TLS = 0x2 , WASM_SEG_FLAG_RETAIN = 0x4 }
 
enum  WasmTagAttribute : uint8_t { WASM_TAG_ATTRIBUTE_EXCEPTION = 0x0 }
 
enum  : unsigned
 
enum class  ValType {
  I32 = WASM_TYPE_I32 , I64 = WASM_TYPE_I64 , F32 = WASM_TYPE_F32 , F64 = WASM_TYPE_F64 ,
  V128 = WASM_TYPE_V128 , FUNCREF = WASM_TYPE_FUNCREF , EXTERNREF = WASM_TYPE_EXTERNREF , EXNREF = WASM_TYPE_EXNREF ,
  OTHERREF = 0xff
}
 
enum class  NameType { FUNCTION , GLOBAL , DATA_SEGMENT }
 

Functions

bool operator== (const WasmSignature &LHS, const WasmSignature &RHS)
 
bool operator!= (const WasmSignature &LHS, const WasmSignature &RHS)
 
bool operator== (const WasmGlobalType &LHS, const WasmGlobalType &RHS)
 
bool operator!= (const WasmGlobalType &LHS, const WasmGlobalType &RHS)
 
bool operator== (const WasmLimits &LHS, const WasmLimits &RHS)
 
bool operator== (const WasmTableType &LHS, const WasmTableType &RHS)
 
llvm::StringRef toString (WasmSymbolType type)
 
llvm::StringRef relocTypetoString (uint32_t type)
 
llvm::StringRef sectionTypeToString (uint32_t type)
 
bool relocTypeHasAddend (uint32_t type)
 

Variables

const char WasmMagic [] = {'\0', 'a', 's', 'm'}
 
const uint32_t WasmVersion = 0x1
 
const uint32_t WasmMetadataVersion = 0x2
 
const uint32_t WasmPageSize = 65536
 
const unsigned WASM_ELEM_SEGMENT_MASK_HAS_ELEM_KIND = 0x3
 
const unsigned WASM_SYMBOL_BINDING_MASK = 0x3
 
const unsigned WASM_SYMBOL_VISIBILITY_MASK = 0xc
 
const unsigned WASM_SYMBOL_BINDING_GLOBAL = 0x0
 
const unsigned WASM_SYMBOL_BINDING_WEAK = 0x1
 
const unsigned WASM_SYMBOL_BINDING_LOCAL = 0x2
 
const unsigned WASM_SYMBOL_VISIBILITY_DEFAULT = 0x0
 
const unsigned WASM_SYMBOL_VISIBILITY_HIDDEN = 0x4
 
const unsigned WASM_SYMBOL_UNDEFINED = 0x10
 
const unsigned WASM_SYMBOL_EXPORTED = 0x20
 
const unsigned WASM_SYMBOL_EXPLICIT_NAME = 0x40
 
const unsigned WASM_SYMBOL_NO_STRIP = 0x80
 
const unsigned WASM_SYMBOL_TLS = 0x100
 
const unsigned WASM_SYMBOL_ABSOLUTE = 0x200
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_SEC_CUSTOM 
WASM_SEC_TYPE 
WASM_SEC_IMPORT 
WASM_SEC_FUNCTION 
WASM_SEC_TABLE 
WASM_SEC_MEMORY 
WASM_SEC_GLOBAL 
WASM_SEC_EXPORT 
WASM_SEC_START 
WASM_SEC_ELEM 
WASM_SEC_CODE 
WASM_SEC_DATA 
WASM_SEC_DATACOUNT 
WASM_SEC_TAG 
WASM_SEC_LAST_KNOWN 

Definition at line 34 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_TYPE_I32 
WASM_TYPE_I64 
WASM_TYPE_F32 
WASM_TYPE_F64 
WASM_TYPE_V128 
WASM_TYPE_NULLFUNCREF 
WASM_TYPE_NULLEXTERNREF 
WASM_TYPE_NULLEXNREF 
WASM_TYPE_NULLREF 
WASM_TYPE_FUNCREF 
WASM_TYPE_EXTERNREF 
WASM_TYPE_EXNREF 
WASM_TYPE_ANYREF 
WASM_TYPE_EQREF 
WASM_TYPE_I31REF 
WASM_TYPE_STRUCTREF 
WASM_TYPE_ARRAYREF 
WASM_TYPE_NONNULLABLE 
WASM_TYPE_NULLABLE 
WASM_TYPE_FUNC 
WASM_TYPE_ARRAY 
WASM_TYPE_STRUCT 
WASM_TYPE_SUB 
WASM_TYPE_SUB_FINAL 
WASM_TYPE_REC 
WASM_TYPE_NORESULT 

Definition at line 53 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_EXTERNAL_FUNCTION 
WASM_EXTERNAL_TABLE 
WASM_EXTERNAL_MEMORY 
WASM_EXTERNAL_GLOBAL 
WASM_EXTERNAL_TAG 

Definition at line 83 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_OPCODE_END 
WASM_OPCODE_CALL 
WASM_OPCODE_LOCAL_GET 
WASM_OPCODE_LOCAL_SET 
WASM_OPCODE_LOCAL_TEE 
WASM_OPCODE_GLOBAL_GET 
WASM_OPCODE_GLOBAL_SET 
WASM_OPCODE_I32_STORE 
WASM_OPCODE_I64_STORE 
WASM_OPCODE_I32_CONST 
WASM_OPCODE_I64_CONST 
WASM_OPCODE_F32_CONST 
WASM_OPCODE_F64_CONST 
WASM_OPCODE_I32_ADD 
WASM_OPCODE_I32_SUB 
WASM_OPCODE_I32_MUL 
WASM_OPCODE_I64_ADD 
WASM_OPCODE_I64_SUB 
WASM_OPCODE_I64_MUL 
WASM_OPCODE_REF_NULL 
WASM_OPCODE_REF_FUNC 
WASM_OPCODE_GC_PREFIX 

Definition at line 92 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_OPCODE_STRUCT_NEW 
WASM_OPCODE_STRUCT_NEW_DEFAULT 
WASM_OPCODE_ARRAY_NEW 
WASM_OPCODE_ARRAY_NEW_DEFAULT 
WASM_OPCODE_ARRAY_NEW_FIXED 
WASM_OPCODE_REF_I31 

Definition at line 118 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_OPCODE_BLOCK 
WASM_OPCODE_BR 
WASM_OPCODE_BR_TABLE 
WASM_OPCODE_RETURN 
WASM_OPCODE_DROP 
WASM_OPCODE_MISC_PREFIX 
WASM_OPCODE_MEMORY_INIT 
WASM_OPCODE_MEMORY_FILL 
WASM_OPCODE_DATA_DROP 
WASM_OPCODE_ATOMICS_PREFIX 
WASM_OPCODE_ATOMIC_NOTIFY 
WASM_OPCODE_I32_ATOMIC_WAIT 
WASM_OPCODE_I32_ATOMIC_STORE 
WASM_OPCODE_I32_RMW_CMPXCHG 

Definition at line 130 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_LIMITS_FLAG_NONE 
WASM_LIMITS_FLAG_HAS_MAX 
WASM_LIMITS_FLAG_IS_SHARED 
WASM_LIMITS_FLAG_IS_64 

Definition at line 147 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_DATA_SEGMENT_IS_PASSIVE 
WASM_DATA_SEGMENT_HAS_MEMINDEX 

Definition at line 154 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_ELEM_SEGMENT_IS_PASSIVE 
WASM_ELEM_SEGMENT_IS_DECLARATIVE 
WASM_ELEM_SEGMENT_HAS_TABLE_NUMBER 
WASM_ELEM_SEGMENT_HAS_INIT_EXPRS 

Definition at line 159 of file Wasm.h.

◆ anonymous enum

anonymous enum : uint8_t
Enumerator
WASM_FEATURE_PREFIX_USED 
WASM_FEATURE_PREFIX_REQUIRED 
WASM_FEATURE_PREFIX_DISALLOWED 

Definition at line 168 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_NAMES_MODULE 
WASM_NAMES_FUNCTION 
WASM_NAMES_LOCAL 
WASM_NAMES_GLOBAL 
WASM_NAMES_DATA_SEGMENT 

Definition at line 175 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_SEGMENT_INFO 
WASM_INIT_FUNCS 
WASM_COMDAT_INFO 
WASM_SYMBOL_TABLE 

Definition at line 184 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_DYLINK_MEM_INFO 
WASM_DYLINK_NEEDED 
WASM_DYLINK_EXPORT_INFO 
WASM_DYLINK_IMPORT_INFO 

Definition at line 192 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned
Enumerator
WASM_COMDAT_DATA 
WASM_COMDAT_FUNCTION 
WASM_COMDAT_SECTION 

Definition at line 200 of file Wasm.h.

◆ anonymous enum

anonymous enum : unsigned

Definition at line 245 of file Wasm.h.

◆ NameType

enum class llvm::wasm::NameType
strong
Enumerator
FUNCTION 
GLOBAL 
DATA_SEGMENT 

Definition at line 464 of file Wasm.h.

◆ ValType

enum class llvm::wasm::ValType
strong
Enumerator
I32 
I64 
F32 
F64 
V128 
FUNCREF 
EXTERNREF 
EXNREF 
OTHERREF 

Definition at line 257 of file Wasm.h.

◆ WasmSegmentFlag

Enumerator
WASM_SEG_FLAG_STRINGS 
WASM_SEG_FLAG_TLS 
WASM_SEG_FLAG_RETAIN 

Definition at line 217 of file Wasm.h.

◆ WasmSymbolType

Enumerator
WASM_SYMBOL_TYPE_FUNCTION 
WASM_SYMBOL_TYPE_DATA 
WASM_SYMBOL_TYPE_GLOBAL 
WASM_SYMBOL_TYPE_SECTION 
WASM_SYMBOL_TYPE_TAG 
WASM_SYMBOL_TYPE_TABLE 

Definition at line 208 of file Wasm.h.

◆ WasmTagAttribute

Enumerator
WASM_TAG_ATTRIBUTE_EXCEPTION 

Definition at line 224 of file Wasm.h.

Function Documentation

◆ operator!=() [1/2]

bool llvm::wasm::operator!= ( const WasmGlobalType LHS,
const WasmGlobalType RHS 
)
inline

Definition at line 517 of file Wasm.h.

References LHS, and RHS.

◆ operator!=() [2/2]

bool llvm::wasm::operator!= ( const WasmSignature LHS,
const WasmSignature RHS 
)
inline

Definition at line 509 of file Wasm.h.

References LHS, and RHS.

◆ operator==() [1/4]

bool llvm::wasm::operator== ( const WasmGlobalType LHS,
const WasmGlobalType RHS 
)
inline

Definition at line 513 of file Wasm.h.

References LHS, llvm::operator==(), and RHS.

◆ operator==() [2/4]

bool llvm::wasm::operator== ( const WasmLimits LHS,
const WasmLimits RHS 
)
inline

Definition at line 521 of file Wasm.h.

References LHS, llvm::operator==(), RHS, and WASM_LIMITS_FLAG_HAS_MAX.

◆ operator==() [3/4]

bool llvm::wasm::operator== ( const WasmSignature LHS,
const WasmSignature RHS 
)
inline

Definition at line 504 of file Wasm.h.

References LHS, llvm::operator==(), and RHS.

◆ operator==() [4/4]

bool llvm::wasm::operator== ( const WasmTableType LHS,
const WasmTableType RHS 
)
inline

Definition at line 527 of file Wasm.h.

References LHS, llvm::operator==(), and RHS.

◆ relocTypeHasAddend()

bool llvm::wasm::relocTypeHasAddend ( uint32_t  type)

Definition at line 66 of file Wasm.cpp.

◆ relocTypetoString()

llvm::StringRef llvm::wasm::relocTypetoString ( uint32_t  type)

Definition at line 29 of file Wasm.cpp.

References llvm_unreachable.

◆ sectionTypeToString()

llvm::StringRef llvm::wasm::sectionTypeToString ( uint32_t  type)

◆ toString()

llvm::StringRef llvm::wasm::toString ( wasm::WasmSymbolType  Type)

Definition at line 11 of file Wasm.cpp.

References llvm_unreachable.

Variable Documentation

◆ WASM_ELEM_SEGMENT_MASK_HAS_ELEM_KIND

const unsigned llvm::wasm::WASM_ELEM_SEGMENT_MASK_HAS_ELEM_KIND = 0x3

Definition at line 165 of file Wasm.h.

Referenced by llvm::yaml::MappingTraits< WasmYAML::ElemSegment >::mapping().

◆ WASM_SYMBOL_ABSOLUTE

const unsigned llvm::wasm::WASM_SYMBOL_ABSOLUTE = 0x200

Definition at line 241 of file Wasm.h.

Referenced by llvm::yaml::MappingTraits< WasmYAML::SymbolInfo >::mapping().

◆ WASM_SYMBOL_BINDING_GLOBAL

const unsigned llvm::wasm::WASM_SYMBOL_BINDING_GLOBAL = 0x0

◆ WASM_SYMBOL_BINDING_LOCAL

const unsigned llvm::wasm::WASM_SYMBOL_BINDING_LOCAL = 0x2

◆ WASM_SYMBOL_BINDING_MASK

const unsigned llvm::wasm::WASM_SYMBOL_BINDING_MASK = 0x3

Definition at line 228 of file Wasm.h.

Referenced by llvm::object::WasmSymbol::getBinding().

◆ WASM_SYMBOL_BINDING_WEAK

const unsigned llvm::wasm::WASM_SYMBOL_BINDING_WEAK = 0x1

◆ WASM_SYMBOL_EXPLICIT_NAME

const unsigned llvm::wasm::WASM_SYMBOL_EXPLICIT_NAME = 0x40

Definition at line 238 of file Wasm.h.

◆ WASM_SYMBOL_EXPORTED

const unsigned llvm::wasm::WASM_SYMBOL_EXPORTED = 0x20

Definition at line 237 of file Wasm.h.

Referenced by llvm::MCSymbolWasm::isExported(), and llvm::MCSymbolWasm::setExported().

◆ WASM_SYMBOL_NO_STRIP

const unsigned llvm::wasm::WASM_SYMBOL_NO_STRIP = 0x80

Definition at line 239 of file Wasm.h.

Referenced by llvm::MCSymbolWasm::isNoStrip(), and llvm::MCSymbolWasm::setNoStrip().

◆ WASM_SYMBOL_TLS

const unsigned llvm::wasm::WASM_SYMBOL_TLS = 0x100

Definition at line 240 of file Wasm.h.

Referenced by llvm::MCSymbolWasm::isTLS(), and llvm::MCSymbolWasm::setTLS().

◆ WASM_SYMBOL_UNDEFINED

const unsigned llvm::wasm::WASM_SYMBOL_UNDEFINED = 0x10

◆ WASM_SYMBOL_VISIBILITY_DEFAULT

const unsigned llvm::wasm::WASM_SYMBOL_VISIBILITY_DEFAULT = 0x0

Definition at line 234 of file Wasm.h.

◆ WASM_SYMBOL_VISIBILITY_HIDDEN

const unsigned llvm::wasm::WASM_SYMBOL_VISIBILITY_HIDDEN = 0x4

Definition at line 235 of file Wasm.h.

Referenced by llvm::object::WasmSymbol::isHidden().

◆ WASM_SYMBOL_VISIBILITY_MASK

const unsigned llvm::wasm::WASM_SYMBOL_VISIBILITY_MASK = 0xc

Definition at line 229 of file Wasm.h.

Referenced by llvm::object::WasmSymbol::getVisibility().

◆ WasmMagic

const char llvm::wasm::WasmMagic[] = {'\0', 'a', 's', 'm'}

Definition at line 26 of file Wasm.h.

◆ WasmMetadataVersion

const uint32_t llvm::wasm::WasmMetadataVersion = 0x2

Definition at line 30 of file Wasm.h.

◆ WasmPageSize

const uint32_t llvm::wasm::WasmPageSize = 65536

Definition at line 32 of file Wasm.h.

◆ WasmVersion

const uint32_t llvm::wasm::WasmVersion = 0x1

Definition at line 28 of file Wasm.h.

Referenced by llvm::object::WasmObjectFile::WasmObjectFile().