[][src]Trait wasmer_compiler_llvm::LLVMCallbacks

pub trait LLVMCallbacks: Debug + Send + Sync {
    fn preopt_ir(
        &self,
        function: &CompiledFunctionKind,
        module: &InkwellModule<'_>
    );
fn postopt_ir(
        &self,
        function: &CompiledFunctionKind,
        module: &InkwellModule<'_>
    );
fn obj_memory_buffer(
        &self,
        function: &CompiledFunctionKind,
        memory_buffer: &InkwellMemoryBuffer
    ); }

Callbacks to the different LLVM compilation phases.

Required methods

fn preopt_ir(&self, function: &CompiledFunctionKind, module: &InkwellModule<'_>)

fn postopt_ir(
    &self,
    function: &CompiledFunctionKind,
    module: &InkwellModule<'_>
)

fn obj_memory_buffer(
    &self,
    function: &CompiledFunctionKind,
    memory_buffer: &InkwellMemoryBuffer
)

Loading content...

Implementors

Loading content...