cranelift_codegen

Type Alias FinalizedMachReloc

source
pub type FinalizedMachReloc = MachRelocBase<FinalizedRelocTarget>;
Expand description

A relocation resulting from a compilation.

Aliased Type§

struct FinalizedMachReloc {
    pub offset: u32,
    pub kind: Reloc,
    pub target: FinalizedRelocTarget,
    pub addend: i64,
}

Fields§

§offset: u32

The offset at which the relocation applies, relative to the containing section.

§kind: Reloc

The kind of relocation.

§target: FinalizedRelocTarget

The external symbol / name to which this relocation refers.

§addend: i64

The addend to add to the symbol value.