14 #ifndef LLVM_OBJECT_MACHOUNIVERSAL_H
15 #define LLVM_OBJECT_MACHOUNIVERSAL_H
29 virtual void anchor();
31 uint32_t NumberOfObjects;
49 return (Parent == Other.Parent) && (Index == Other.Index);
67 return Obj == Other.Obj;
70 return !(*
this == Other);
ObjectForArch(const MachOUniversalBinary *Parent, uint32_t Index)
error_code getAsObjectFile(OwningPtr< ObjectFile > &Result) const
bool operator==(const object_iterator &Other) const
uint32_t getCPUType() const
bool operator==(const ObjectForArch &Other) const
object_iterator(const ObjectForArch &Obj)
error_code getObjectForArch(Triple::ArchType Arch, OwningPtr< ObjectFile > &Result) const
bool operator!=(const object_iterator &Other) const
const ObjectForArch * operator->() const
object_iterator & operator++()
object_iterator end_objects() const
MachOUniversalBinary(MemoryBuffer *Source, error_code &ec)
ObjectForArch getNext() const
object_iterator begin_objects() const
static bool classof(Binary const *V)
bool isMachOUniversalBinary() const
uint32_t getNumberOfObjects() const