LLVM
8.0.1
|
#include "llvm/Object/MachOUniversal.h"
Classes | |
class | object_iterator |
class | ObjectForArch |
Public Member Functions | |
MachOUniversalBinary (MemoryBufferRef Souce, Error &Err) | |
object_iterator | begin_objects () const |
object_iterator | end_objects () const |
iterator_range< object_iterator > | objects () const |
uint32_t | getMagic () const |
uint32_t | getNumberOfObjects () const |
Expected< std::unique_ptr< MachOObjectFile > > | getObjectForArch (StringRef ArchName) const |
Public Member Functions inherited from llvm::object::Binary | |
Binary ()=delete | |
Binary (const Binary &other)=delete | |
virtual | ~Binary () |
StringRef | getData () const |
StringRef | getFileName () const |
MemoryBufferRef | getMemoryBufferRef () const |
unsigned int | getType () const |
bool | isObject () const |
bool | isSymbolic () const |
bool | isArchive () const |
bool | isMachOUniversalBinary () const |
bool | isELF () const |
bool | isMachO () const |
bool | isCOFF () const |
bool | isWasm () const |
bool | isCOFFImportFile () const |
bool | isIR () const |
bool | isLittleEndian () const |
bool | isWinRes () const |
Triple::ObjectFormatType | getTripleObjectFormat () const |
Static Public Member Functions | |
static Expected< std::unique_ptr< MachOUniversalBinary > > | create (MemoryBufferRef Source) |
static bool | classof (Binary const *V) |
Static Public Member Functions inherited from llvm::object::Binary | |
static std::error_code | checkOffset (MemoryBufferRef M, uintptr_t Addr, const uint64_t Size) |
Additional Inherited Members | |
Protected Types inherited from llvm::object::Binary | |
enum | { ID_Archive, ID_MachOUniversalBinary, ID_COFFImportFile, ID_IR, ID_WinRes, ID_StartObjects, ID_COFF, ID_ELF32L, ID_ELF32B, ID_ELF64L, ID_ELF64B, ID_MachO32L, ID_MachO32B, ID_MachO64L, ID_MachO64B, ID_Wasm, ID_EndObjects } |
Protected Member Functions inherited from llvm::object::Binary | |
Binary (unsigned int Type, MemoryBufferRef Source) | |
Static Protected Member Functions inherited from llvm::object::Binary | |
static unsigned int | getELFType (bool isLE, bool is64Bits) |
static unsigned int | getMachOType (bool isLE, bool is64Bits) |
Protected Attributes inherited from llvm::object::Binary | |
MemoryBufferRef | Data |
Definition at line 29 of file MachOUniversal.h.
MachOUniversalBinary::MachOUniversalBinary | ( | MemoryBufferRef | Souce, |
Error & | Err | ||
) |
Definition at line 113 of file MachOUniversal.cpp.
Referenced by llvm::object::MachOUniversalBinary::object_iterator::operator++().
|
inline |
Definition at line 142 of file MachOUniversal.h.
References llvm::object::MachOUniversalBinary::ObjectForArch::ObjectForArch().
Referenced by objects().
Definition at line 157 of file MachOUniversal.h.
References getObjectForArch(), and llvm::object::Binary::isMachOUniversalBinary().
|
static |
Definition at line 104 of file MachOUniversal.cpp.
Referenced by llvm::object::createBinary().
|
inline |
Definition at line 145 of file MachOUniversal.h.
References llvm::object::MachOUniversalBinary::ObjectForArch::ObjectForArch().
Referenced by objects().
|
inline |
Definition at line 153 of file MachOUniversal.h.
Referenced by llvm::object::MachOUniversalBinary::ObjectForArch::getAlign(), llvm::object::MachOUniversalBinary::ObjectForArch::getArchFlagName(), llvm::object::MachOUniversalBinary::ObjectForArch::getAsArchive(), llvm::object::MachOUniversalBinary::ObjectForArch::getAsObjectFile(), llvm::object::MachOUniversalBinary::ObjectForArch::getCPUSubType(), llvm::object::MachOUniversalBinary::ObjectForArch::getCPUType(), llvm::object::MachOUniversalBinary::ObjectForArch::getOffset(), llvm::object::MachOUniversalBinary::ObjectForArch::getReserved(), llvm::object::MachOUniversalBinary::ObjectForArch::getSize(), and llvm::object::MachOUniversalBinary::ObjectForArch::ObjectForArch().
|
inline |
Definition at line 154 of file MachOUniversal.h.
Referenced by llvm::object::MachOUniversalBinary::ObjectForArch::ObjectForArch().
Expected< std::unique_ptr< MachOObjectFile > > MachOUniversalBinary::getObjectForArch | ( | StringRef | ArchName | ) | const |
Definition at line 214 of file MachOUniversal.cpp.
References llvm::object::arch_not_found, and objects().
Referenced by classof().
|
inline |
Definition at line 149 of file MachOUniversal.h.
References begin_objects(), end_objects(), and llvm::make_range().
Referenced by getObjectForArch().