[][src]Trait wasmer_compiler_llvm::LLVMCallbacks

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

Callbacks to the different LLVM compilation phases.

Required methods

pub fn preopt_ir(&self, function: &CompiledKind, module: &InkwellModule<'_>)[src]

pub fn postopt_ir(&self, function: &CompiledKind, module: &InkwellModule<'_>)[src]

pub fn obj_memory_buffer(
    &self,
    function: &CompiledKind,
    memory_buffer: &InkwellMemoryBuffer
)
[src]

Loading content...

Implementors

Loading content...