pub struct RelocSink {
    pub func_relocs: Vec<Relocation>,
}
Expand description

Implementation of a relocation sink that just saves all the information for later

Fields§

§func_relocs: Vec<Relocation>

Relocations recorded for the function.

Implementations§

Return a new RelocSink instance.

Trait Implementations§

Add a relocation referencing an EBB at the current offset.
Add a relocation referencing an external symbol at the current offset.
Add a relocation referencing a jump table.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.