[][src]Trait cranelift_codegen::binemit::FrameUnwindSink

pub trait FrameUnwindSink {
    fn len(&self) -> FrameUnwindOffset;
fn bytes(&mut self, _: &[u8]);
fn reloc(&mut self, _: Reloc, _: FrameUnwindOffset);
fn set_entry_offset(&mut self, _: FrameUnwindOffset); fn reserve(&mut self, _len: usize) { ... } }

Sink for frame unwind information.

Required methods

fn len(&self) -> FrameUnwindOffset

Get the current position.

fn bytes(&mut self, _: &[u8])

Add bytes to the code section.

fn reloc(&mut self, _: Reloc, _: FrameUnwindOffset)

Add a relocation entry.

fn set_entry_offset(&mut self, _: FrameUnwindOffset)

Specified offset to main structure.

Loading content...

Provided methods

fn reserve(&mut self, _len: usize)

Reserves bytes in the buffer.

Loading content...

Implementors

Loading content...