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

#include "llvm/BinaryFormat/Wasm.h"

Collaboration diagram for llvm::wasm::WasmFunction:
Collaboration graph

Public Attributes

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

Detailed Description

Definition at line 140 of file Wasm.h.

Member Data Documentation

◆ Body

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

Definition at line 143 of file Wasm.h.

◆ CodeOffset

uint32_t llvm::wasm::WasmFunction::CodeOffset

Definition at line 146 of file Wasm.h.

◆ CodeSectionOffset

uint32_t llvm::wasm::WasmFunction::CodeSectionOffset

Definition at line 144 of file Wasm.h.

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

◆ Comdat

uint32_t llvm::wasm::WasmFunction::Comdat

Definition at line 150 of file Wasm.h.

◆ DebugName

StringRef llvm::wasm::WasmFunction::DebugName

Definition at line 149 of file Wasm.h.

◆ ExportName

Optional<StringRef> llvm::wasm::WasmFunction::ExportName

Definition at line 147 of file Wasm.h.

◆ Index

uint32_t llvm::wasm::WasmFunction::Index

Definition at line 141 of file Wasm.h.

◆ Locals

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

Definition at line 142 of file Wasm.h.

◆ Size

uint32_t llvm::wasm::WasmFunction::Size

Definition at line 145 of file Wasm.h.

◆ SymbolName

StringRef llvm::wasm::WasmFunction::SymbolName

Definition at line 148 of file Wasm.h.

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