LLVM  4.0.0
Public Member Functions | Friends | List of all members
llvm::object::MachORebaseEntry Class Reference

MachORebaseEntry encapsulates the current state in the decompression of rebasing opcodes. More...

#include <MachO.h>

Public Member Functions

 MachORebaseEntry (ArrayRef< uint8_t > opcodes, bool is64Bit)
 
uint32_t segmentIndex () const
 
uint64_t segmentOffset () const
 
StringRef typeName () const
 
bool operator== (const MachORebaseEntry &) const
 
void moveNext ()
 

Friends

class MachOObjectFile
 

Detailed Description

MachORebaseEntry encapsulates the current state in the decompression of rebasing opcodes.

This allows you to iterate through the compressed table of rebasing using: for (const llvm::object::MachORebaseEntry &Entry : Obj->rebaseTable()) { }

Definition at line 108 of file Object/MachO.h.

Constructor & Destructor Documentation

MachORebaseEntry::MachORebaseEntry ( ArrayRef< uint8_t >  opcodes,
bool  is64Bit 
)

Definition at line 2677 of file MachOObjectFile.cpp.

Member Function Documentation

void MachORebaseEntry::moveNext ( )
bool MachORebaseEntry::operator== ( const MachORebaseEntry Other) const

Definition at line 2825 of file MachOObjectFile.cpp.

References assert(), and llvm::ArrayRef< T >::data().

uint32_t MachORebaseEntry::segmentIndex ( ) const

Definition at line 2809 of file MachOObjectFile.cpp.

uint64_t MachORebaseEntry::segmentOffset ( ) const

Definition at line 2811 of file MachOObjectFile.cpp.

StringRef MachORebaseEntry::typeName ( ) const

Friends And Related Function Documentation

friend class MachOObjectFile
friend

Definition at line 121 of file Object/MachO.h.


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