[][src]Enum cranelift_codegen::binemit::Reloc

pub enum Reloc {
    Abs4,
    Abs8,
    X86PCRel4,
    X86CallPCRel4,
    X86CallPLTRel4,
    X86GOTPCRel4,
    Arm32Call,
    Arm64Call,
    RiscvCall,
}

Relocation kinds for every ISA

Variants

Abs4

absolute 4-byte

Abs8

absolute 8-byte

X86PCRel4

x86 PC-relative 4-byte

X86CallPCRel4

x86 call to PC-relative 4-byte

X86CallPLTRel4

x86 call to PLT-relative 4-byte

X86GOTPCRel4

x86 GOT PC-relative 4-byte

Arm32Call

Arm32 call target

Arm64Call

Arm64 call target

RiscvCall

RISC-V call target

Trait Implementations

impl Clone for Reloc[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Reloc[src]

impl Debug for Reloc[src]

impl Display for Reloc[src]

fn fmt(&self, f: &mut Formatter) -> Result[src]

Display trait implementation drops the arch, since its used in contexts where the arch is already unambiguous, e.g. clif syntax with isa specified. In other contexts, use Debug.

Auto Trait Implementations

impl Send for Reloc

impl Sync for Reloc

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T