class RelocationRef

Declaration

class RelocationRef { /* full declaration omitted */ };

Description

This is a value type class that represents a single relocation in the list of relocations in the object file.

Declared at: llvm/include/llvm/Object/ObjectFile.h:51

Member Variables

private llvm::object::DataRefImpl RelocationPimpl
private const llvm::object::ObjectFile* OwningObject = nullptr

Method Overview

Methods

RelocationRef()

Declared at: llvm/include/llvm/Object/ObjectFile.h:56

RelocationRef(
    llvm::object::DataRefImpl RelocationP,
    const llvm::object::ObjectFile* Owner)

Description

RelocationRef

Declared at: llvm/include/llvm/Object/ObjectFile.h:57

Parameters

llvm::object::DataRefImpl RelocationP
const llvm::object::ObjectFile* Owner

const llvm::object::ObjectFile* getObject() const

Declared at: llvm/include/llvm/Object/ObjectFile.h:73

uint64_t getOffset() const

Declared at: llvm/include/llvm/Object/ObjectFile.h:63

llvm::object::DataRefImpl getRawDataRefImpl()
    const

Declared at: llvm/include/llvm/Object/ObjectFile.h:72

llvm::object::symbol_iterator getSymbol() const

Declared at: llvm/include/llvm/Object/ObjectFile.h:64

uint64_t getType() const

Declared at: llvm/include/llvm/Object/ObjectFile.h:65

void getTypeName(
    SmallVectorImpl<char>& Result) const

Description

Get a string that represents the type of this relocation. This is for display purposes only.

Declared at: llvm/include/llvm/Object/ObjectFile.h:70

Parameters

SmallVectorImpl<char>& Result

void moveNext()

Declared at: llvm/include/llvm/Object/ObjectFile.h:61