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, uint64_t OriginalAddend)
 
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
 
uint64_t OriginalAddend
 

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,
uint64_t  OriginalAddend 
)
inline

Definition at line 43 of file MCELFObjectWriter.h.

Member Function Documentation

◆ dump()

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

Definition at line 55 of file MCELFObjectWriter.h.

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

◆ print()

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

Definition at line 49 of file MCELFObjectWriter.h.

References Addend, Offset, OriginalAddend, 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().

◆ OriginalAddend

uint64_t llvm::ELFRelocationEntry::OriginalAddend

Definition at line 41 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: