Record a relocation entry.

Synopsis

Declared in <llvm/MC/MCObjectWriter.h>

virtual
void
recordRelocation(
    MCFragment const& F,
    MCFixup const& Fixup,
    MCValue Target,
    uint64_t& FixedValue);

Description

This routine is called by the assembler after layout and relaxation, and post layout binding. The implementation is responsible for storing information about the relocation so that it can be emitted during writeObject().

Parameters

Name

Description

F

Fragment that contains the fixup.

Fixup

Fixup that produced this relocation.

Target

Relocatable expression the fixup evaluates to.

FixedValue

[out]Absolute portion of the fixup value after recording the relocation.

Created with MrDocs