LLVM 22.0.0git
llvm::object::MachOUniversalBinary::ObjectForArch Class Reference

#include "llvm/Object/MachOUniversal.h"

Public Member Functions

LLVM_ABI ObjectForArch (const MachOUniversalBinary *Parent, uint32_t Index)
void clear ()
bool operator== (const ObjectForArch &Other) const
ObjectForArch getNext () const
uint32_t getCPUType () const
uint32_t getCPUSubType () const
uint64_t getOffset () const
uint64_t getSize () const
uint32_t getAlign () const
uint32_t getReserved () const
Triple getTriple () const
std::string getArchFlagName () const
LLVM_ABI Expected< std::unique_ptr< MachOObjectFile > > getAsObjectFile () const
LLVM_ABI Expected< std::unique_ptr< IRObjectFile > > getAsIRObject (LLVMContext &Ctx) const
LLVM_ABI Expected< std::unique_ptr< Archive > > getAsArchive () const

Detailed Description

Definition at line 39 of file MachOUniversal.h.

Constructor & Destructor Documentation

◆ ObjectForArch()

MachOUniversalBinary::ObjectForArch::ObjectForArch ( const MachOUniversalBinary * Parent,
uint32_t Index )

Definition at line 41 of file MachOUniversal.cpp.

References llvm::object::MachOUniversalBinary::MachOUniversalBinary().

Referenced by getNext(), and operator==().

Member Function Documentation

◆ clear()

void llvm::object::MachOUniversalBinary::ObjectForArch::clear ( )
inline

Definition at line 50 of file MachOUniversal.h.

◆ getAlign()

uint32_t llvm::object::MachOUniversalBinary::ObjectForArch::getAlign ( ) const
inline

Definition at line 84 of file MachOUniversal.h.

References llvm::MachO::FAT_MAGIC.

◆ getArchFlagName()

std::string llvm::object::MachOUniversalBinary::ObjectForArch::getArchFlagName ( ) const
inline

◆ getAsArchive()

Expected< std::unique_ptr< Archive > > MachOUniversalBinary::ObjectForArch::getAsArchive ( ) const

◆ getAsIRObject()

Expected< std::unique_ptr< IRObjectFile > > MachOUniversalBinary::ObjectForArch::getAsIRObject ( LLVMContext & Ctx) const

◆ getAsObjectFile()

Expected< std::unique_ptr< MachOObjectFile > > MachOUniversalBinary::ObjectForArch::getAsObjectFile ( ) const

◆ getCPUSubType()

uint32_t llvm::object::MachOUniversalBinary::ObjectForArch::getCPUSubType ( ) const
inline

Definition at line 66 of file MachOUniversal.h.

References llvm::MachO::FAT_MAGIC.

◆ getCPUType()

uint32_t llvm::object::MachOUniversalBinary::ObjectForArch::getCPUType ( ) const
inline

Definition at line 60 of file MachOUniversal.h.

References llvm::MachO::FAT_MAGIC.

◆ getNext()

ObjectForArch llvm::object::MachOUniversalBinary::ObjectForArch::getNext ( ) const
inline

Definition at line 59 of file MachOUniversal.h.

References ObjectForArch().

◆ getOffset()

uint64_t llvm::object::MachOUniversalBinary::ObjectForArch::getOffset ( ) const
inline

Definition at line 72 of file MachOUniversal.h.

References llvm::MachO::FAT_MAGIC.

◆ getReserved()

uint32_t llvm::object::MachOUniversalBinary::ObjectForArch::getReserved ( ) const
inline

Definition at line 90 of file MachOUniversal.h.

References llvm::MachO::FAT_MAGIC.

◆ getSize()

uint64_t llvm::object::MachOUniversalBinary::ObjectForArch::getSize ( ) const
inline

Definition at line 78 of file MachOUniversal.h.

References llvm::MachO::FAT_MAGIC.

◆ getTriple()

Triple llvm::object::MachOUniversalBinary::ObjectForArch::getTriple ( ) const
inline

◆ operator==()

bool llvm::object::MachOUniversalBinary::ObjectForArch::operator== ( const ObjectForArch & Other) const
inline

Definition at line 55 of file MachOUniversal.h.

References ObjectForArch(), and llvm::Other.


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