LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ELFRelocationEntry Struct Reference

#include "llvm/MC/MCELFObjectWriter.h"

Public Member Functions

 ELFRelocationEntry (uint64_t Offset, const MCSymbolELF *Symbol, unsigned Type, uint64_t Addend, const MCSymbolELF *OriginalSymbol)
 
void print (raw_ostream &Out) const
 
LLVM_DUMP_METHOD void dump () const
 

Public Attributes

uint64_t Offset
 
const MCSymbolELFSymbol
 
unsigned Type
 
uint64_t Addend
 
const MCSymbolELFOriginalSymbol
 

Detailed Description

Definition at line 35 of file MCELFObjectWriter.h.

Constructor & Destructor Documentation

◆ ELFRelocationEntry()

llvm::ELFRelocationEntry::ELFRelocationEntry ( uint64_t  Offset,
const MCSymbolELF Symbol,
unsigned  Type,
uint64_t  Addend,
const MCSymbolELF OriginalSymbol 
)
inline

Definition at line 42 of file MCELFObjectWriter.h.

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void llvm::ELFRelocationEntry::dump ( ) const
inline

Definition at line 52 of file MCELFObjectWriter.h.

References llvm::errs(), and print().

◆ print()

void llvm::ELFRelocationEntry::print ( raw_ostream Out) const
inline

Definition at line 47 of file MCELFObjectWriter.h.

References Addend, Offset, OriginalSymbol, and Symbol.

Referenced by dump().

Member Data Documentation

◆ Addend

uint64_t llvm::ELFRelocationEntry::Addend

Definition at line 39 of file MCELFObjectWriter.h.

Referenced by print().

◆ Offset

uint64_t llvm::ELFRelocationEntry::Offset

Definition at line 36 of file MCELFObjectWriter.h.

Referenced by print().

◆ OriginalSymbol

const MCSymbolELF* llvm::ELFRelocationEntry::OriginalSymbol

Definition at line 40 of file MCELFObjectWriter.h.

Referenced by getMatchingLoType(), and print().

◆ Symbol

const MCSymbolELF* llvm::ELFRelocationEntry::Symbol

Definition at line 37 of file MCELFObjectWriter.h.

Referenced by print().

◆ Type

unsigned llvm::ELFRelocationEntry::Type

Definition at line 38 of file MCELFObjectWriter.h.

Referenced by getMatchingLoType().


The documentation for this struct was generated from the following file: