|
LLVM
3.7.0
|
#include <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 |
| std::string | getArchTypeName () const |
| ErrorOr< std::unique_ptr < MachOObjectFile > > | getAsObjectFile () const |
| ErrorOr< std::unique_ptr < Archive > > | getAsArchive () const |
Definition at line 34 of file MachOUniversal.h.
| MachOUniversalBinary::ObjectForArch::ObjectForArch | ( | const MachOUniversalBinary * | Parent, |
| uint32_t | Index | ||
| ) |
Definition at line 53 of file MachOUniversal.cpp.
References llvm::StringRef::begin(), clear(), llvm::object::Binary::getData(), llvm::object::MachOUniversalBinary::getNumberOfObjects(), llvm::MachO::fat_arch::offset, llvm::StringRef::size(), and llvm::MachO::fat_arch::size.
Referenced by getNext().
|
inline |
Definition at line 44 of file MachOUniversal.h.
Referenced by ObjectForArch().
|
inline |
Definition at line 58 of file MachOUniversal.h.
References llvm::MachO::fat_arch::align.
|
inline |
Definition at line 59 of file MachOUniversal.h.
References llvm::MachO::fat_arch::cpusubtype, llvm::MachO::fat_arch::cputype, llvm::object::MachOObjectFile::getArch(), and llvm::Triple::getArchName().
Definition at line 83 of file MachOUniversal.cpp.
References llvm::object::Archive::create(), llvm::object::parse_failed, and llvm::StringRef::substr().
| ErrorOr< std::unique_ptr< MachOObjectFile > > MachOUniversalBinary::ObjectForArch::getAsObjectFile | ( | ) | const |
Definition at line 71 of file MachOUniversal.cpp.
References llvm::object::ObjectFile::createMachOObjectFile(), llvm::object::parse_failed, and llvm::StringRef::substr().
|
inline |
Definition at line 55 of file MachOUniversal.h.
References llvm::MachO::fat_arch::cpusubtype.
|
inline |
Definition at line 54 of file MachOUniversal.h.
References llvm::MachO::fat_arch::cputype.
|
inline |
Definition at line 53 of file MachOUniversal.h.
References ObjectForArch().
Referenced by llvm::object::MachOUniversalBinary::object_iterator::operator++().
|
inline |
Definition at line 56 of file MachOUniversal.h.
References llvm::MachO::fat_arch::offset.
|
inline |
Definition at line 57 of file MachOUniversal.h.
References llvm::MachO::fat_arch::size.
|
inline |
Definition at line 49 of file MachOUniversal.h.
1.8.6