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)
 
void print (raw_ostream &Out) const
 
LLVM_DUMP_METHOD void dump () const
 

Public Attributes

uint64_t Offset
 
const MCSymbolELFSymbol
 
unsigned Type
 
uint64_t Addend
 

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 
)
inline

Definition at line 41 of file MCELFObjectWriter.h.

Member Function Documentation

◆ dump()

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

Definition at line 50 of file MCELFObjectWriter.h.

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

◆ print()

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

Definition at line 45 of file MCELFObjectWriter.h.

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

◆ Symbol

const MCSymbolELF* llvm::ELFRelocationEntry::Symbol

Definition at line 37 of file MCELFObjectWriter.h.

Referenced by getMatchingLoType(), and 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: