llvm::TargetLoweringObjectFile::getIndirectSymViaGOTPCRel

Get the target specific PC relative GOT entry relocation

Synopsis

Declared in <llvm/Target/TargetLoweringObjectFile.h>

virtual
MCExpr const*
getIndirectSymViaGOTPCRel(
    GlobalValue const* GV,
    MCSymbol const* Sym,
    MCValue const& MV,
    int64_t Offset,
    MachineModuleInfo* MMI,
    MCStreamer& Streamer) const;

Return Value

The PC-relative GOT entry relocation, or nullptr if unsupported.

Parameters

NameDescription
GVGlobal value whose GOT entry is referenced, if any.
SymSymbol associated with the GOT entry access.
MVMachine-code value describing the relocation operands.
OffsetAdditional offset applied to the GOT entry access.
MMIMachine module info providing relocation context.
StreamerAssembler streamer used to create the expression.