LLDB mainline
WasmFunction Struct Reference

Public Attributes

lldb::offset_t section_offset = LLDB_INVALID_OFFSET
 Offset from the section to the start of the function.
uint32_t size = 0
 Function size, which includes the function header, but not the size ULEB that proceeds it.
uint32_t code_offset = 0
 Offset from section_offset to the first instruction in the function, past the local variable declarations.

Detailed Description

Definition at line 310 of file ObjectFileWasm.cpp.

Member Data Documentation

◆ code_offset

uint32_t WasmFunction::code_offset = 0

Offset from section_offset to the first instruction in the function, past the local variable declarations.

Definition at line 321 of file ObjectFileWasm.cpp.

Referenced by ParseNames().

◆ section_offset

lldb::offset_t WasmFunction::section_offset = LLDB_INVALID_OFFSET

Offset from the section to the start of the function.

This points past the function size, which some other tools consider part of the function.

Definition at line 313 of file ObjectFileWasm.cpp.

Referenced by ParseNames().

◆ size

uint32_t WasmFunction::size = 0

Function size, which includes the function header, but not the size ULEB that proceeds it.

Definition at line 317 of file ObjectFileWasm.cpp.

Referenced by ParseNames().


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