pub trait LLVMCallbacks: Debug + Send + Sync {
    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.

Required Methods§

Implementors§