LLVM 19.0.0git
Public Attributes | List of all members
llvm::wasm::WasmFunction Struct Reference

#include "llvm/BinaryFormat/Wasm.h"

Public Attributes

uint32_t Index
uint32_t SigIndex
std::vector< WasmLocalDeclLocals
ArrayRef< uint8_t > Body
uint32_t CodeSectionOffset
uint32_t Size
uint32_t CodeOffset
std::optional< StringRefExportName
StringRef SymbolName
StringRef DebugName
uint32_t Comdat

Detailed Description

Definition at line 381 of file Wasm.h.

Member Data Documentation

◆ Body

ArrayRef<uint8_t> llvm::wasm::WasmFunction::Body

Definition at line 385 of file Wasm.h.

◆ CodeOffset

uint32_t llvm::wasm::WasmFunction::CodeOffset

Definition at line 388 of file Wasm.h.

◆ CodeSectionOffset

uint32_t llvm::wasm::WasmFunction::CodeSectionOffset

Definition at line 386 of file Wasm.h.

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

◆ Comdat

uint32_t llvm::wasm::WasmFunction::Comdat

Definition at line 392 of file Wasm.h.

◆ DebugName

StringRef llvm::wasm::WasmFunction::DebugName

Definition at line 391 of file Wasm.h.

◆ ExportName

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

Definition at line 389 of file Wasm.h.

◆ Index

uint32_t llvm::wasm::WasmFunction::Index

Definition at line 382 of file Wasm.h.

◆ Locals

std::vector<WasmLocalDecl> llvm::wasm::WasmFunction::Locals

Definition at line 384 of file Wasm.h.

◆ SigIndex

uint32_t llvm::wasm::WasmFunction::SigIndex

Definition at line 383 of file Wasm.h.

◆ Size

uint32_t llvm::wasm::WasmFunction::Size

Definition at line 387 of file Wasm.h.

◆ SymbolName

StringRef llvm::wasm::WasmFunction::SymbolName

Definition at line 390 of file Wasm.h.

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