llvm::MCELFObjectTargetWriter::getRelocType

Return the ELF relocation type for Fixup applied to Target.

Synopsis

Declared in <llvm/MC/MCELFObjectWriter.h>

virtual
unsigned int
getRelocType(
    MCFixup const& Fixup,
    MCValue const& Target,
    bool IsPCRel) const = 0;

Return Value

The ELF relocation type for the fixup.

Parameters

NameDescription
Fixup- Fixup being recorded as a relocation.
Target- Relocatable expression evaluated for the fixup.
IsPCRel- True if the relocation is PC-relative.