LLVM 22.0.0git
llvm::wasm::WasmSymbolInfo Struct Reference

#include "llvm/BinaryFormat/Wasm.h"

Public Attributes

StringRef Name
uint8_t Kind
uint32_t Flags
std::optional< StringRefImportModule
std::optional< StringRefImportName
std::optional< StringRefExportName
union { 
   uint32_t   ElementIndex 
   WasmDataReference   DataRef 
}; 

Detailed Description

Definition at line 464 of file Wasm.h.

Member Data Documentation

◆ [union]

◆ DataRef

WasmDataReference llvm::wasm::WasmSymbolInfo::DataRef

◆ ElementIndex

uint32_t llvm::wasm::WasmSymbolInfo::ElementIndex

◆ ExportName

std::optional<StringRef> llvm::wasm::WasmSymbolInfo::ExportName

Definition at line 473 of file Wasm.h.

◆ Flags

uint32_t llvm::wasm::WasmSymbolInfo::Flags

Definition at line 467 of file Wasm.h.

◆ ImportModule

std::optional<StringRef> llvm::wasm::WasmSymbolInfo::ImportModule

Definition at line 469 of file Wasm.h.

◆ ImportName

std::optional<StringRef> llvm::wasm::WasmSymbolInfo::ImportName

Definition at line 471 of file Wasm.h.

◆ Kind

uint8_t llvm::wasm::WasmSymbolInfo::Kind

◆ Name

StringRef llvm::wasm::WasmSymbolInfo::Name

Definition at line 465 of file Wasm.h.

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


The documentation for this struct was generated from the following file: