LLVM 22.0.0git
|
#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 |
Definition at line 39 of file MachOUniversal.h.
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==().
|
inline |
Definition at line 50 of file MachOUniversal.h.
|
inline |
Definition at line 84 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC.
|
inline |
Definition at line 99 of file MachOUniversal.h.
References llvm::object::MachOObjectFile::getArchTriple(), getCPUSubType(), and getCPUType().
Definition at line 103 of file MachOUniversal.cpp.
References llvm::object::Archive::create(), llvm::MachO::FAT_MAGIC, llvm::report_fatal_error(), and llvm::StringRef::substr().
Expected< std::unique_ptr< IRObjectFile > > MachOUniversalBinary::ObjectForArch::getAsIRObject | ( | LLVMContext & | Ctx | ) | const |
Definition at line 84 of file MachOUniversal.cpp.
References llvm::object::IRObjectFile::create(), llvm::MachO::FAT_MAGIC, llvm::report_fatal_error(), and llvm::StringRef::substr().
Expected< std::unique_ptr< MachOObjectFile > > MachOUniversalBinary::ObjectForArch::getAsObjectFile | ( | ) | const |
Definition at line 63 of file MachOUniversal.cpp.
References llvm::object::ObjectFile::createMachOObjectFile(), llvm::MachO::FAT_MAGIC, llvm::report_fatal_error(), and llvm::StringRef::substr().
|
inline |
Definition at line 66 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC.
|
inline |
Definition at line 60 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC.
|
inline |
Definition at line 59 of file MachOUniversal.h.
References ObjectForArch().
|
inline |
Definition at line 72 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC.
|
inline |
Definition at line 90 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC.
|
inline |
Definition at line 78 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC.
|
inline |
Definition at line 96 of file MachOUniversal.h.
References llvm::object::MachOObjectFile::getArchTriple(), getCPUSubType(), and getCPUType().
|
inline |
Definition at line 55 of file MachOUniversal.h.
References ObjectForArch(), and llvm::Other.