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

#include "llvm/MC/MCELFObjectWriter.h"

Collaboration diagram for llvm::ELFRelocationEntry:
Collaboration graph
[legend]

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
 
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 32 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 40 of file MCELFObjectWriter.h.

Member Function Documentation

◆ dump()

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 46 of file MCELFObjectWriter.h.

References OriginalAddend.

Referenced by dump().

Member Data Documentation

◆ Addend

uint64_t llvm::ELFRelocationEntry::Addend

Definition at line 36 of file MCELFObjectWriter.h.

Referenced by isWeak().

◆ Offset

uint64_t llvm::ELFRelocationEntry::Offset

Definition at line 33 of file MCELFObjectWriter.h.

Referenced by dumpRelocs(), and isWeak().

◆ OriginalAddend

uint64_t llvm::ELFRelocationEntry::OriginalAddend

Definition at line 38 of file MCELFObjectWriter.h.

Referenced by isMatchingReloc(), and print().

◆ OriginalSymbol

const MCSymbolELF* llvm::ELFRelocationEntry::OriginalSymbol

Definition at line 37 of file MCELFObjectWriter.h.

Referenced by getMatchingLoType(), and isMatchingReloc().

◆ Symbol

const MCSymbolELF* llvm::ELFRelocationEntry::Symbol

Definition at line 34 of file MCELFObjectWriter.h.

Referenced by isWeak().

◆ Type

unsigned llvm::ELFRelocationEntry::Type

Definition at line 35 of file MCELFObjectWriter.h.

Referenced by getMatchingLoType(), and isWeak().


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