LLVM
8.0.1
|
#include "llvm/Object/MachOUniversal.h"
Public Member Functions | |
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 |
uint32_t | getOffset () const |
uint32_t | getSize () const |
uint32_t | getAlign () const |
uint32_t | getReserved () const |
std::string | getArchFlagName () const |
Expected< std::unique_ptr< MachOObjectFile > > | getAsObjectFile () const |
Expected< std::unique_ptr< Archive > > | getAsArchive () const |
Definition at line 35 of file MachOUniversal.h.
MachOUniversalBinary::ObjectForArch::ObjectForArch | ( | const MachOUniversalBinary * | Parent, |
uint32_t | Index | ||
) |
Definition at line 42 of file MachOUniversal.cpp.
References llvm::StringRef::begin(), clear(), llvm::MachO::FAT_MAGIC, llvm::object::Binary::getData(), llvm::object::MachOUniversalBinary::getMagic(), and llvm::object::MachOUniversalBinary::getNumberOfObjects().
Referenced by llvm::object::MachOUniversalBinary::begin_objects(), llvm::object::MachOUniversalBinary::end_objects(), and getNext().
|
inline |
Definition at line 46 of file MachOUniversal.h.
Referenced by ObjectForArch().
|
inline |
Definition at line 80 of file MachOUniversal.h.
References llvm::MachO::fat_arch::align, llvm::MachO::fat_arch_64::align, llvm::MachO::FAT_MAGIC, and llvm::object::MachOUniversalBinary::getMagic().
|
inline |
Definition at line 92 of file MachOUniversal.h.
References llvm::MachO::fat_arch::cpusubtype, llvm::MachO::fat_arch_64::cpusubtype, llvm::MachO::fat_arch::cputype, llvm::MachO::fat_arch_64::cputype, llvm::MachO::FAT_MAGIC, llvm::object::MachOObjectFile::getArchTriple(), getAsArchive(), getAsObjectFile(), and llvm::object::MachOUniversalBinary::getMagic().
Definition at line 85 of file MachOUniversal.cpp.
References llvm::object::Archive::create(), llvm::MachO::FAT_MAGIC, llvm::object::Binary::getData(), llvm::object::Binary::getFileName(), llvm::object::MachOUniversalBinary::getMagic(), llvm::MachO::fat_arch::offset, llvm::MachO::fat_arch_64::offset, llvm::report_fatal_error(), llvm::MachO::fat_arch::size, llvm::MachO::fat_arch_64::size, and llvm::StringRef::substr().
Referenced by getArchFlagName().
Expected< std::unique_ptr< MachOObjectFile > > MachOUniversalBinary::ObjectForArch::getAsObjectFile | ( | ) | const |
Definition at line 64 of file MachOUniversal.cpp.
References llvm::MachO::fat_arch::cputype, llvm::MachO::fat_arch_64::cputype, llvm::object::ObjectFile::createMachOObjectFile(), llvm::MachO::FAT_MAGIC, llvm::object::Binary::getData(), llvm::object::Binary::getFileName(), llvm::object::MachOUniversalBinary::getMagic(), llvm::MachO::fat_arch::offset, llvm::MachO::fat_arch_64::offset, llvm::report_fatal_error(), llvm::MachO::fat_arch::size, llvm::MachO::fat_arch_64::size, and llvm::StringRef::substr().
Referenced by getArchFlagName().
|
inline |
Definition at line 62 of file MachOUniversal.h.
References llvm::MachO::fat_arch::cpusubtype, llvm::MachO::fat_arch_64::cpusubtype, llvm::MachO::FAT_MAGIC, and llvm::object::MachOUniversalBinary::getMagic().
|
inline |
Definition at line 56 of file MachOUniversal.h.
References llvm::MachO::fat_arch::cputype, llvm::MachO::fat_arch_64::cputype, llvm::MachO::FAT_MAGIC, and llvm::object::MachOUniversalBinary::getMagic().
|
inline |
Definition at line 55 of file MachOUniversal.h.
References ObjectForArch().
Referenced by llvm::object::MachOUniversalBinary::object_iterator::operator++().
|
inline |
Definition at line 68 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC, llvm::object::MachOUniversalBinary::getMagic(), llvm::MachO::fat_arch::offset, and llvm::MachO::fat_arch_64::offset.
|
inline |
Definition at line 86 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC, llvm::object::MachOUniversalBinary::getMagic(), and llvm::MachO::fat_arch_64::reserved.
|
inline |
Definition at line 74 of file MachOUniversal.h.
References llvm::MachO::FAT_MAGIC, llvm::object::MachOUniversalBinary::getMagic(), llvm::MachO::fat_arch::size, and llvm::MachO::fat_arch_64::size.
|
inline |
Definition at line 51 of file MachOUniversal.h.