LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::MachORelocation Class Reference

MachORelocation - This struct contains information about each relocation that needs to be emitted to the file. More...

#include "llvm/CodeGen/MachORelocation.h"

Public Member Functions

uint32_t getPackedFields () const
 
uint32_t getAddress () const
 
uint32_t getRawAddress () const
 
 MachORelocation (uint32_t addr, uint32_t index, bool pcrel, uint8_t len, bool ext, uint8_t type, bool scattered=false, int32_t value=0)
 

Detailed Description

MachORelocation - This struct contains information about each relocation that needs to be emitted to the file.

see <mach-o/reloc.h>

Definition at line 25 of file MachORelocation.h.

Constructor & Destructor Documentation

◆ MachORelocation()

llvm::MachORelocation::MachORelocation ( uint32_t  addr,
uint32_t  index,
bool  pcrel,
uint8_t  len,
bool  ext,
uint8_t  type,
bool  scattered = false,
int32_t  value = 0 
)
inline

Definition at line 47 of file MachORelocation.h.

Member Function Documentation

◆ getAddress()

uint32_t llvm::MachORelocation::getAddress ( ) const
inline

Definition at line 44 of file MachORelocation.h.

◆ getPackedFields()

uint32_t llvm::MachORelocation::getPackedFields ( ) const
inline

Definition at line 36 of file MachORelocation.h.

◆ getRawAddress()

uint32_t llvm::MachORelocation::getRawAddress ( ) const
inline

Definition at line 45 of file MachORelocation.h.


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