Module wasmer_compiler::object
source · Expand description
Object creator for Wasm Compilations.
Given a compilation result (this is, the result when calling Compiler::compile_module
)
this exposes functions to create an Object file for a given target.
Re-exports§
pub use object;
Modules§
Structs§
- A writable relocatable object file.
- ObjectMetadataBuilder builds serialized module metadata include in an object. In addition, it also relies on information from ModuleInfo to build a table of function pointers, trmampolines and dynamic function trampoline pointers. ObjectMetadataBuilder takes care of setting up relocations, so a linker can automatically fill in actuall addesses of all relavant functions. There is no need to piece the information together in the glue C file.
Enums§
- The Object error can occur when creating an object file from a
Compilation
.
Functions§
- Emit the compilation result into an existing object.
- Write data into an existing object.
- Emit the compilation result into an existing object.
- Create an object for a given target
Triple
.