Module wasmer_types::compilation::relocation
source · Expand description
Relocation is the process of assigning load addresses for position-dependent code and data of a program and adjusting the code and data to reflect the assigned addresses.
Each time a Compiler
compiles a WebAssembly function (into machine code),
it also attaches if there are any relocations that need to be patched into
the generated machine code, so a given frontend (JIT or native) can
do the corresponding work to run it.
Structs
- An archived
Relocation
- A record of a relocation to perform.
- The resolver for an archived
Relocation
Enums
- Relocation kinds for every ISA.
- The resolver for an archived
RelocationKind
- Destination function. Can be either user function or some special one, like
memory.grow
. - The resolver for an archived
RelocationTarget
Type Definitions
- Relocations to apply to function bodies.