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

#include "ObjCopy/MachO/MachOObject.h"

Collaboration diagram for llvm::objcopy::macho::RelocationInfo:
Collaboration graph

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 176 of file MachOObject.h.

Member Function Documentation

◆ getPlainRelocationSymbolNum()

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

Definition at line 190 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 

Definition at line 196 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 187 of file MachOObject.h.

◆ Info

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

Definition at line 188 of file MachOObject.h.

Referenced by getPlainRelocationSymbolNum(), and setPlainRelocationSymbolNum().

◆ IsAddend

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

Definition at line 185 of file MachOObject.h.

◆ Scattered

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

Definition at line 182 of file MachOObject.h.

◆ Sec

Optional<const Section *> llvm::objcopy::macho::RelocationInfo::Sec

Definition at line 180 of file MachOObject.h.

◆ Symbol

Optional<const SymbolEntry *> llvm::objcopy::macho::RelocationInfo::Symbol

Definition at line 178 of file MachOObject.h.

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