Trait cranelift_codegen::binemit::TrapSink[][src]

pub trait TrapSink {
    fn trap(&mut self, _: CodeOffset, _: SourceLoc, _: TrapCode);
}
Expand description

A trait for receiving trap codes and offsets.

If you don’t need information about possible traps, you can use the NullTrapSink implementation.

Required methods

Add trap information for a specific offset.

Implementors