LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::objcopy::macho::RelocationInfo Struct Reference

#include "ObjCopy/MachO/MachOObject.h"

Public Member Functions

unsigned getPlainRelocationSymbolNum (bool IsLittleEndian)
 
void setPlainRelocationSymbolNum (unsigned SymbolNum, bool IsLittleEndian)
 

Public Attributes

std::optional< const SymbolEntry * > Symbol
 
std::optional< const Section * > Sec
 
bool Scattered
 
bool IsAddend
 
bool Extern
 
MachO::any_relocation_info Info
 

Detailed Description

Definition at line 172 of file MachOObject.h.

Member Function Documentation

◆ getPlainRelocationSymbolNum()

unsigned llvm::objcopy::macho::RelocationInfo::getPlainRelocationSymbolNum ( bool  IsLittleEndian)
inline

Definition at line 186 of file MachOObject.h.

References Info, and llvm::MachO::any_relocation_info::r_word1.

◆ setPlainRelocationSymbolNum()

void llvm::objcopy::macho::RelocationInfo::setPlainRelocationSymbolNum ( unsigned  SymbolNum,
bool  IsLittleEndian 
)
inline

Definition at line 192 of file MachOObject.h.

References assert(), Info, and llvm::MachO::any_relocation_info::r_word1.

Member Data Documentation

◆ Extern

bool llvm::objcopy::macho::RelocationInfo::Extern

Definition at line 183 of file MachOObject.h.

◆ Info

MachO::any_relocation_info llvm::objcopy::macho::RelocationInfo::Info

Definition at line 184 of file MachOObject.h.

Referenced by getPlainRelocationSymbolNum(), and setPlainRelocationSymbolNum().

◆ IsAddend

bool llvm::objcopy::macho::RelocationInfo::IsAddend

Definition at line 181 of file MachOObject.h.

◆ Scattered

bool llvm::objcopy::macho::RelocationInfo::Scattered

Definition at line 178 of file MachOObject.h.

◆ Sec

std::optional<const Section *> llvm::objcopy::macho::RelocationInfo::Sec

Definition at line 176 of file MachOObject.h.

◆ Symbol

std::optional<const SymbolEntry *> llvm::objcopy::macho::RelocationInfo::Symbol

Definition at line 174 of file MachOObject.h.


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