Skip to main content

Module elf

Module elf 

Source

Enums§

CompileOutput 🔒
The result of compiling a single unit (function or trampoline): either an in-memory body for the classic artifact format, or a relocatable object buffer for the ELF artifact format (together with the maximum stack usage, when known).

Functions§

compile_output_in_memory 🔒
Extract the in-memory bodies from classic-mode compile outputs.
compile_output_objects 🔒
Extract the object buffers from ELF-mode compile outputs.
emit_function_body 🔒
Serialize a trampoline’s body into its own relocatable object file.
emit_import_trampoline 🔒
Serialize an import trampoline’s custom section into its own relocatable object file.
emit_local_function 🔒
link_module 🔒
Link all the per-function and trampoline objects (plus the Wasmer metadata object) into the final shared-object module image.