Trait wasmer_compiler_llvm::LLVMCallbacks
source · pub trait LLVMCallbacks: Debug + Send + Sync {
// Required methods
fn preopt_ir(&self, function: &CompiledKind, module: &InkwellModule<'_>);
fn postopt_ir(&self, function: &CompiledKind, module: &InkwellModule<'_>);
fn obj_memory_buffer(
&self,
function: &CompiledKind,
memory_buffer: &InkwellMemoryBuffer
);
}
Expand description
Callbacks to the different LLVM compilation phases.