Go to the documentation of this file.
13 #ifndef LLVM_OBJECT_MACHOUNIVERSAL_H
14 #define LLVM_OBJECT_MACHOUNIVERSAL_H
32 virtual void anchor();
56 return (Parent ==
Other.Parent) && (Index ==
Other.Index);
88 return Header64.
align;
100 const char *McpuDefault, *ArchFlag;
102 &McpuDefault, &ArchFlag);
103 return ArchFlag ? ArchFlag : std::string();
121 return Obj ==
Other.Obj;
124 return !(*
this ==
Other);
This class represents lattice values for constants.
iterator_range< T > make_range(T x, T y)
Convenience function for iterating over sub-ranges.
Triple - Helper class for working with autoconf configuration names.
uint32_t getNumberOfObjects() const
const ObjectForArch & operator*() const
uint32_t getAlign() const
Tagged union holding either a T or a Error.
Expected< std::unique_ptr< Archive > > getArchiveForArch(StringRef ArchName) const
MachOUniversalBinary(MemoryBufferRef Souce, Error &Err)
object_iterator & operator++()
ObjectForArch getNext() const
Expected< std::unique_ptr< MachOObjectFile > > getAsObjectFile() const
uint32_t getReserved() const
std::string getArchFlagName() const
Expected< std::unique_ptr< MachOObjectFile > > getMachOObjectForArch(StringRef ArchName) const
Expected< ObjectForArch > getObjectForArch(StringRef ArchName) const
bar al al movzbl eax ret Missed when stored in a memory object
Expected< std::unique_ptr< IRObjectFile > > getAsIRObject(LLVMContext &Ctx) const
This is an important class for using LLVM in a threaded context.
Triple getArchTriple(const char **McpuDefault=nullptr) const
static constexpr uint32_t MaxSectionAlignment
iterator_range< object_iterator > objects() const
ObjectForArch(const MachOUniversalBinary *Parent, uint32_t Index)
object_iterator(const ObjectForArch &Obj)
StringRef - Represent a constant reference to a string, i.e.
Expected< std::unique_ptr< IRObjectFile > > getIRObjectForArch(StringRef ArchName, LLVMContext &Ctx) const
Machine Check Debug Module
const ObjectForArch * operator->() const
static Expected< std::unique_ptr< MachOUniversalBinary > > create(MemoryBufferRef Source)
Expected< std::unique_ptr< Archive > > getAsArchive() const
Lightweight error class with error context and mandatory checking.
object_iterator begin_objects() const
static bool classof(Binary const *V)
uint32_t getCPUType() const
A range adaptor for a pair of iterators.
bool isMachOUniversalBinary() const
object_iterator end_objects() const
bool operator==(const ObjectForArch &Other) const
bool operator==(const object_iterator &Other) const
uint64_t getOffset() const
uint32_t getMagic() const
bool operator!=(const object_iterator &Other) const
Optional< std::vector< StOtherPiece > > Other
uint32_t getCPUSubType() const